Auth0 Home Blog Docs

Get new refresh token

#1

I’ve logged in and got access_token, id_token & refresh_token in the response. When the access_token expires I wish to refresh the tokens AND I wish to get a new refresh token for later use.

All but the last part works. When I refresh I don’t get a new refresh token. I’m using your Java SDK, but I also tried sending http requests manually as described in https://auth0.com/docs/tokens/refresh-token/current#use-a-refresh-token.

Audience & scope seems to be the same in the new access token as in the initial access token.

Any ideas what might be wrong?

#2

Can anybody at least confirm that I’m right in assuming that refreshing the token should return a new refresh token (together with access token)? What else would be the point in having refresh tokens if it can only be used once?