Unfortunately as far as I can see looking at our API explorer there isn’t a way to set it using the API
ok thank you for getting back to me.
I have seen that this can be done from the auth0 console but is the change there really changing the access_token expiry when using the Authorization Code Grant Flow?
Not sure about that. Can you tell exactly what console are you referring to? Let me check it then and get back to you soon!
in the auth0 Management Api settings page…
I have changed it to last 30 days but users are still being logged out after 24 hrs
This is why I was questioning if maybe changing the access_token when using the Authorization Code Grant Flow does actually change it…
Got it. Thanks for providing that context! Let me dig into it and get back to you with news soon!
and just for extra info this is a native app client using the SDK for implementation and the issue is when calling the CredentialsManager class… logged in status doesn’t persist after 24hrs which why we think the access_token is not really changing
Thank you! Let me try establish the reasoning behind it and get back to you with an answer!
the section we are both looking at is the Auth0 Management API which is a system API and is not meant to be consumed in browser-based flows. You need to create a custom API which will then allow you to update that setting…