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.