Auth0 Home Blog Docs

React-native-auth0 - unexpected token error while logging in

token
react-native-auth0
unexpected-token

#1

I followed the steps in https://www.npmjs.com/package/react-native-auth0 but while logging in I get an unexpected token error. Also, I forked the sample project in
https://github.com/auth0-samples/auth0-react-native-sample 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.


#2

I am exeperiencing the same issue… have you found anything about it?


#3