Auth0 android kotlin refresh token

Hello guys, I need help with the automatic token update in Android Kotlin. What do I need to do when it expires?

Hi,
You can use Auth0’s CredentialsManager to handle it seamlessly.
If the refresh token is expired or not available (maybe it was revoked), the SDK will automatically prompt the user to log in again

I need an example repo where the validation and refresh of the token is carried out automatically I need urgent help please

Hi @devsolutionsbr,

Welcome to the Auth0 Community!

Please see these links that may prove helpful to you:

Thanks,

Mary Beth

1 Like

“Ok, excellent, thank you very much. The token is now refreshing, but when I close the app and reopen it, it logs me out.”

“Do you have any repository that implements the entire refresh token functionality?”

Hi @devsolutionsbr,

I took a look and did not see a repository with a full example. After reviewing the above links, do you have any specific questions I could help answer?

Best,

Mary Beth