Long Lived Access Token for Integration Testing

Hello,

For integration testing we need to store a long lived client credentials token (30 days) for one of our Auth0 APIs. I know you can go to the API settings and manually change the Token Expiration (Seconds) property to 2592000, but then that would affect all the token lifetimes for that API.

Is there a way to adjust the token expiration for just one token? Or is there a way to programmatically change the token expiration before requesting a token?

Thanks

Hey there!

Unfortunately I don’t believe that’s doable with our stack at the moment. I would highly encourage you to file a feature request using our Feedback category:

1 Like