Local Storage data #699
timoshchuk-web
announced in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! There a few questions for you guys, its related to problems that i've encountered while started using web3auth.
Why after logging out, stored data in local storage (on my domain and openlogin) is not deleted?
Its super strange when you relogin to some another account and get the profile image (and some other data) from previus account! (+ its related to the next question too);
How to make isLoggedIn() check more faster, before web3init for example, i've tried to check Web3Auth-cachedAdapter and openlogin_store user-info.idToken, if its available, i thought that we can assume that the user is logged in (before web3 init) but its not working because we can log out and still have this not deleted info in local storage;
When and where we can check auth token expiration time/catch expiration and process this to programmatically logout user from the system.
Appreciate your help. Thnx you!
Beta Was this translation helpful? Give feedback.
All reactions