iOS App ID (here I entered my Apple App ID, not the Service ID)
In the apple service I entered this:
https://redacted.eu.auth0.com/login/callback
The apple service also asked for a website. I have no idea what to enter here, since this is an app not a website. So I entered the site of my own api for the app.
I think the sign in procedure works, since I see this under Users in the auth0 management page:
I have same problem with iOS. With Android login with Apple works ok. Actually login works ok with iOS too if I select use other Apple ID and set my Apple ID manually (like I do with Android).
Automatic Apple login with iOS gets me to that same blank screen. If I click Done and login again, then it gets me to the application. This might be related to same kind of problem I have when logging out. With Android after I have been logged out from Auth0 it redirects back to application and opens the welcome page. With iOS it opens same blank screen and I have to click Done manually to get into welcome page.
Can you login like I can or doesn’t it work at all?
Hi Markus. Indeed, I have exactly the same behavior. Apple login works on Android and also on iOS for other Apple IDs, where you have to enter the Apple ID manually.
Also, I like to have option { prompt: 'login' } set when calling Client.authorize() (otherwise you can’t switch users after you have logged in once). Which means that the login prompt appears every time. In that case every login fails. If I remove that option then the second login passes, because there is no user interaction.
I am suspecting as well, that both problems might have the same cause. Maybe if the inappbrowser would close automatically at Apple sign in, it would work?
I hope somebody here with more in depth knowledge could find out what’s going wrong under the hood.
It’d be really nice if someone could help with this issue. My app was rejected in AppStore review because I hadn’t enabled Apple login. Now I put it on but there’s problems. Let’s see how the next review goes.
I’m not using prompt:login for switching user. First I used Auth0Cordova for logout but it has problems to do logout right and it’s now implemented like in https://auth0.com/docs/quickstart/native/ionic4/01-login. Now only problem in logout is that blank screen. When Done is clicked then you can login with different user.
We also experience this problem when using the Apple Sign-In on iOS 13 devices when being signed in on the device with an Apple ID. We opened a support ticket on this and Auth0 currently tries to resolve this issue together with Apple.
On Android or iOS 12 everything works fine, as it goes through Apples web-based sign-in flow, but on iOS 13 it uses the built-in flow which has issues with redirecting to another website.
It also works fine when using the native Sign-In with Apple button in combination with Auth0.