-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TF-3348 Move access token from persistent to memory #3404
base: maintenance-v0.14.2
Are you sure you want to change the base?
TF-3348 Move access token from persistent to memory #3404
Conversation
This PR has been deployed to https://linagora.github.io/tmail-flutter/3404. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Test more on browser 'Firefox',
Safari
|
Screen.Recording.2025-01-07.at.15.12.51.mov
Screen.Recording.2025-01-07.at.15.21.50.mov |
|
Unit test will suffice. |
lib/features/login/data/local/web_token_oidc_cache_manager.dart
Outdated
Show resolved
Hide resolved
Token refreshed fine Screen.Recording.2025-01-07.at.16.33.04.mov |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Issue
Demo
Should not refresh token if token is still valid and browser is refresh
Screen.Recording.2025-01-07.at.10.50.20.mov
Should not force user to login and refresh token if refresh token is still valid and new tab is open
Screen.Recording.2025-01-07.at.10.50.57.mov