M2M token without expiry date

I’ve backend application that accesses the auth0 api to get user social information, but the access token expires and needs to be refreshed in a while. I’ve tried to increase token expiration to infinite seconds, but max amount was 30days.

Is there any way to get m2m access token that won’t expire? I dont want to add refresh logic as it will add more code to be maintenanced, I just want simple solution.

Hey @lukesamkharadze!

There unfortunately isn’t a way around this - You’ll need to implement some sort of logic on your end that simply requests a new Management API access token when needed using client credentials.

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