I followed the steps in react-native-auth0 - npm but while logging in I get an unexpected token error. Also, I forked the sample project in
GitHub - auth0-samples/auth0-react-native-sample: Auth0 Integration Samples for React Native and changed the clientId and domain to point to my project url, it still throws the unexpected token error.
More information:
I find the following error in the Auth0 log
“error”: {
“message”: “Unexpected token A”,
“oauthError”: “access_denied”,
“type”: “oauth-authorization”
}
The message differs each time I try to log in.