I’m working with Auth0-react library using the Auth0Provider component and I need to get the refresh tokens.
After reading this post Store and retrieve Google Refresh token - #4 by mathiasconradt I successfully did most of the things mentions except this one:
In order to make Auth0 get a refresh token in the first place, your SPA needs to make the authorize request with the parameters:
access_type: "offline"
as well as the respective audience to the authorize request, such as: