Hello,
I have a vue app that is working beautifully with refresh tokens in dev mode on my local machine. However, when I push the app to the production server, auth0 no longer returns a refresh token. Or at least, the refresh token is not being saved in local storage like it is in the development environment.
Here is how I create the auth0 client:
export const auth0 = createAuth0({
  domain: 'MY_DOMAIN',
  clientId: 'MY_CLIENT_ID',
  cacheLocation: 'localstorage',
  useRefreshTokens: true,
  authorizationParams: {
    redirect_uri: 'MY_REDIRECT_URI',
    audience: "MY_AUDIENCE"
  },
  logoutParams: {
    returnTo: 'MY_RETURN_URI',
  }
});
Any ideas?