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

Closing the browser #3348

Open
chibenwa opened this issue Dec 13, 2024 · 3 comments
Open

Closing the browser #3348

chibenwa opened this issue Dec 13, 2024 · 3 comments
Assignees
Labels
bug Something isn't working customer

Comments

@chibenwa
Copy link
Member

Description

WHEN I close the browser
AND reopen the browser
THEN TMail should ask me to login again

As of today I am stiff logged in.

How to do

Do not store on-disk the access / refresh token.
Store them in memory only for web

@chibenwa chibenwa added the bug Something isn't working label Dec 13, 2024
@hoangdat
Copy link
Member

Maybe we should store refresh_token with less life cycle to prevent user need to login again and again.

@hoangdat
Copy link
Member

  • not store acessToken persistency
  • don't re-login when refresh page in case accessToken not expired

@dab246
Copy link
Member

dab246 commented Dec 16, 2024

Technical

  • Check for accessToken != null in methods and classes
  • AccessToken is stored in Session Storage. So each tab will have an AccessToken
  • Check the account conditions that have been logged in

@tddang-linagora tddang-linagora self-assigned this Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working customer
Projects
None yet
Development

No branches or pull requests

4 participants