sign with apple react-native auth0

Im trying to add sign with apple to my react-native project. Im using auth0 web form for login users.


I'm following this guide: https://auth0.com/docs/connections/apple-siwa/set-up-apple?_ga=2.267694410.553381554.1591475612-866095660.1584309547


The guide asks me to do stuff at apple developer site.


My problem is with creating the service id. To be more precice, it is this part:


"After checking Sign In with Apple, click on Configure and define your Web Domain (

example.com
) and your Return URL. Make sure that your Return URL is your Auth0 domain, such as
foo.auth0.com
(or your Auth0 custom domain if you have one) and follows this format:
https://YOUR_AUTH0_DOMAIN/login/callback
."


Apple requires me to enter the login callback url. The problem with this is, that since I'm doing a native application with react-native, the login callback url does not start with any https protocol. Because the callback is a callback to the app itself. So after login, the web form disappears and my application is the place where user is returned to. Now what should I put to those fields then? Tried leaving them blank, but no luck. The sign in test gives me error: 'invalid redirect_uri'

Replies

Did anyone ever figure this out?