Skip to content
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

Open
wants to merge 3 commits into
base: maintenance-v0.14.2
Choose a base branch
from

Conversation

tddang-linagora
Copy link
Contributor

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

Copy link

github-actions bot commented Jan 7, 2025

This PR has been deployed to https://linagora.github.io/tmail-flutter/3404.

Copy link
Member

@dab246 dab246 left a 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

@dab246
Copy link
Member

dab246 commented Jan 7, 2025

  • Test case: If token expired

@tddang-linagora
Copy link
Contributor Author

Test more on browser Firefox, Safari

  • Firefox
Screen.Recording.2025-01-07.at.15.12.51.mov
  • Safari
Screen.Recording.2025-01-07.at.15.21.50.mov

@hoangdat
Copy link
Member

hoangdat commented Jan 7, 2025

  • can we add the e2e test to make sure this change will not impact the mobile flow?

@tddang-linagora
Copy link
Contributor Author

can we add the e2e test to make sure this change will not impact the mobile flow?

Unit test will suffice.

@tddang-linagora
Copy link
Contributor Author

If token expired

Token refreshed fine

Screen.Recording.2025-01-07.at.16.33.04.mov

@tddang-linagora tddang-linagora requested a review from dab246 January 7, 2025 09:34
Copy link
Member

@dab246 dab246 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants