I’m trying to implement Auth0 on a new React-Native-Web application created with Expo.
The application should run on web but also as an app.
I started to implement it using React-Native-Auth0, and it imports etc, but when i call:
‘’’ auth0.webAuth.authorize({scope: ‘openid email profile’})
.then(credentials => console.log(credentials))
catch(error => console.log(error));
Then i get the error that the Native Module is missing.
Has anyone have an example project that runs Auth0 on web as well as on iOS/Android?
Thanks for finding this.
I came far but not far enough. Without Expo trying to get Auth0 to work with React-Native on web was hell and failed. So that’s why i went and try Expo.
The example you gave runs but doesn’t parse the url containing the id_token. (yet, hopefully: i created a bug report)
When receiving the data on the callback url, an entity ‘result’ should be filled containing the id_token, but ‘result’ stays ‘null’. (useEffect is called)