[Archive] Increasing the default token expiration time for 24 hours

:classical_building: Archived Content from Web3Auth Community

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


Is there a way of increasing the session token length on web3auth to go beyond 24 hours? Some users have provided feedback that they don't want to keep logging in everyday. Are there any best practices around this?



Originally posted by: JSeam2

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

Hey, you can increase sesison time in web3auth sdk. Please refer below link:
https://web3auth.io/docs/sdk/web/web3auth/initialize#web3authoptions

image



Originally posted by: rinzler99