Getting the Refresh Token From React Auth0 SDK

How can we get the Refresh Token after calling getAccessTokenSilently? We want to be able to retrieve the refresh token and pass it to somewhere else.

Hi there @sam.toh welcome to the community!

Out of curiosity, what’s the intended use case here? Are you already using refresh tokens by passing useRefreshTokens={true} as a prop to Auth0Provider?

You might also be interested in the following regarding storing tokens:

Hope this helps!