Expire access token when Logout

Hey all,
I want to expire my access_token when i click logout.
We use the access token for api in jwt.
Currently, after logout still i can access the dashboard with access_token .

Hi @techtic.neel,

In order to help with your solution, which SDK are you using?

Unfortunately, JWTs can’t be invalidated because they are meant to be self-contained instead of requiring a check with Auth0.

You can configure a short lifetime for your access tokens in your API settings:

Related topic: Invalidating an access token when user logs out

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

Hey there, everyone!

I’m excited to inform you about our next Ask Me Anything session in the Forum on Tuesday, July 30, with the Product Management team. If you have questions about upcoming features like FGA, Manage Sessions in Actions, or SCIM. Submit your questions now, and our esteemed product experts will provide written answers on July 30. I can’t wait to see you there!

Learn more here!

1 Like