Hi there,
I’m building a React Native app and I wanted to refresh expired access tokens using refresh tokens. I’ve configured everything in the Auth0 dashboard and I get a refresh token after authorization. The issue is when an access token expires and I call getCredentials method it returns undefined, but in fact the token is refreshed. To get a token I need to call the getCredentials method again. Not sure if that’s a desired behaviour. For now I just call it twice and it works, but it doesn’t look good. Does anyone else experience the same issue? Not sure if that’s related to React Native library: react-native-auth0 - npm or Auth0 in general. Couldn’t find anything helpful in the internet so far.