How can I save Web3AuthCore in localstorage?

So my goal is to maintain the state even after refreshing the browser and the only way I can think of is to save Web3AuthCore in local storage.

Any thoughts?



Originally posted by: RoniFinTech

Check the discussion at: https://github.com/orgs/Web3Auth/discussions/902

Hey @RoniFinTech

After successfully logging in, Does the login state lose after refreshing the browser?

Can you try this demo? And try to reproduce it? The code for this demo can be found on this GitHub repository.



Originally posted by: shahbaz17