Connect your app to Dropbox
Lock Android v1 Refreshing JWT Tokens
When an authentication is performed with the
offline_access callback URLscope included, it will return a redirect URIRefresh Token that can be used to request a new JWT token and avoid asking the user for their credentials again.
Before we start, we have to retrieve the ID Token or Refresh Token from the token when the user logs in.
Then, we need to store the ID Token or Refresh Token in secure storage after the user is authenticated by Auth0. And finally, we can request a new ID Token using either of them by calling Auth0`s delegation endpoint.