Auth0 Home Blog Docs

Refresh_token grant type does not return a new refresh_token

refresh-tokens
grant-types

#1

I am not sure about it, but I am under the impression that until a few days ago, the use of a refresh_token, generated another refresh_token back, is that correct?

I understand that I can use the current refresh_token I have to generate new access tokens, however I am having some trouble when I try to use the RefreshTokenHandler from the IdentityModel.OidcClient. When the user logs in the refresh token is properly stored in the httpclient coming directly from the LoginResult object.

However the first time that the access token expires, the handler automatically goes to the /token endpoint, correctly obtains a new access token but the refresh token is then overwritten to null, as the endpoint does not return a refresh token. So the next time the access token expires, the handler is unable to refresh the access token. That is not my expected behaviour.

Is there any easy way to resolve this without recoding the oidc library?

Thanks,