Auth0 React-Native Expo

It seems like Auth0’s provided quickstart guide for implementing auth0 react native with expo does not actually work… When following their guide, i get the error

Cannot read properties of undefined (reading ‘hasValidAuth0Instance’)

when I open my app and making a call to auth0 authorize method does absolutely nothing. I have read online that ios target needs to be 13.0 but downgrading to that breaks Expo. Desperately need some guidance

Im getting this same issue on web build

Hi @logan,

This is an issue with the Auth0 React SDK and its compatibility with Expo Go. Here is a solution on Stack Overflow: Setting up Auth0 in React Native/Expo. I recommend following this guide: Auth0 Expo SDK Quickstarts: Add Login to your React Native App.

Hope this helps!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.