Skip to content

Conversation

tddang-linagora
Copy link
Collaborator

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
Collaborator 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
Collaborator 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
Collaborator 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