We want to update the user
access_token expiration time via an API call to Auth0.
The flow should be:
- User logins
- After X period of time, a modal appears asking if the user will stay logged or not
- If click yes, we update the access token
Is it possible to do it via API call?
If not, how can I achieve this expected result?
Hey there @lucas.gonzalez !
Unfortunately, you can’t update the expiration (or any claim) via an API call to Auth0. What you can do is request an entirely new access token and thus updating the expiration. For a use case like you’ve described I recommend looking into Silent Authentication:
Hope this helps!
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.