Changing lifetime of token from client side

Hi All,

I’m trying to find if there is a way in the javascript SDK on a passwordlesslogin to change the lifetime of the token, I’ve found I can change it in the Auth0 backed up to 100 days for enterprise accounts, yet I’m trying to implement a remember me checkbox on the frontend so is there a way for the client to define a time within the range set on the backend?

Thanks

Hi @ed11,

You cannot set the token lifetime like you mentioned. Instead, you should use cookie sessions to determine whether or not the user is able to login next time they visit the site.

This is discussed in this thread:

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.