Please include the following information in your post:
- Which SDK this is regarding: e.g. react-native-auth0
- SDK Version: e.g. 2.10.0
- Platform Version: e.g. RN 0.63.3
-
Code Snippets/Error Messages/Supporting Details/Screenshots:
Hi all,
I’ve been following this guide to set up Sign In With Apple for our React Native application:
https://auth0.com/docs/connections/social/apple-native
After I set up our Apple connection, web authentication flows seem to work fine. However, in app (screenshot above) you can see that the application name is set to “null” and whenever attempting to log in using the native prompt the application hangs for around 30 seconds (screenshot below) and then I get an error message stating: “Could Not Connect Make sure you are connected to Wi-Fi or your cellular network” (also screenshotted below) (edit: n/a, this seems to be a simulator issue). I can then go through the normal web-based authentication flow and proceed normally. Any idea what I could be doing wrong here? Here’s what I’m passing to the webAuth function in the React Native SDK:
auth0.webAuth.authorize({ scope: 'openid profile email offline_access', connection: 'apple' });
Additional screenshots: