Auth0 Home Blog Docs

verify if managament API token expired?

management-api

#1

Hi, how do you check if your management API expires, is there any resource to verify this?

thanks


#2

The exp claim in JWT’s represent the token expiration. Management API access tokens are JWT’s that can be validated using any of the libraries listed on https://jwt.io/ that support the exp check.


#3

hi, thanks for answer, I am using auth0 SDK for java, i tried with jjwt(supported by stormpath) and with java-jwt (supported by auth0), but both requires the signing key of the token to do the verification, for that reason I choosed to decode the token by myself using the java util class Base64


#4