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

fix: currentToken is removed from localstorage on refresh #77

Open
joymyr opened this issue May 13, 2024 · 1 comment
Open

fix: currentToken is removed from localstorage on refresh #77

joymyr opened this issue May 13, 2024 · 1 comment
Labels
bug Something isn't working waiting for feedback

Comments

@joymyr
Copy link

joymyr commented May 13, 2024

Description

On web, using version 0.5.2, the FlutterSecureStorage.oidc.secureTokens.currentToken is removed shortly after refresh. Could it be related to the feature for refreshing tokens on init? I don't have this issue with 0.5.1.

Steps To Reproduce

  1. Log in on web
  2. Verify that currentToken is added to local storage
  3. Refresh
  4. currentToken is now gone

Expected Behavior

CurrentToken should still be there after refresh

@joymyr joymyr added the bug Something isn't working label May 13, 2024
@ahmednfwela
Copy link
Member

hi @joymyr , I can't reproduce this, is it similar to #69 ?
if not, then please provide a reproducible example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working waiting for feedback
Projects
None yet
Development

No branches or pull requests

2 participants