[Archive] Use localStorage for torus session

:classical_building: Archived Content from Web3Auth Community

This topic was originally posted by githubdiscussions on 10/6/2022.
This content has been migrated from our previous community forum to preserve valuable discussions.


image

I want to use localStorage for torus session.
If anybody knows how to do it, please let me know.
Thank you.



Originally posted by: softcheetah

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

@softcheetah thanks for the question, but could you elaborate on what problem you're facing? Is setting the option to true not working?



Originally posted by: BboyStatix

its by default localstorage only, user's session should persist even after closing the tab. Please update to the latest version of torus-embed



Originally posted by: himanshuchawla009