Is there any API that I can get expiration time of AccessToken?

Hello Auth0 Community! I’m really enjoying developing with Auth0.

Is there any API that I can get expiration time of AccessToken?
Currently, I’m using “/userinfo” endpoint to getting UserID from AccessToken, but I can’t about expiration time.
General JWT tokens have “Expiration Time” in it’s token’s field, so I guess AccessToken of Auth0 might have Expiration Time.
It would be great if I can get expiration time from AccessToken.

Best,
Shin

Hi @shin,

The token should have an exp claim as the expiry:

Hope this helps!

Thanks,
Dan

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