#OAuth Apple Login not completing

13 messages · Page 1 of 1 (latest)

hot geyser
#

Hi there!
I am currently stuck implementing the OAuth Flow for Apple in React Native & Expo in Appwrite Cloud, testing it with EAS Build for iOS on my iPhone.

I followed this guide: https://appwrite.io/blog/post/how-to-set-up-sign-in-with-apple

And set in the Apple Dashboard:

and in the Appwrite Dashboard I set the same values for the service ID, pasted the correct key id, team id and the contents of the .p8 file.

Everything works up to the point where I use FaceId to login with my AppleID - then it tells me "Anmeldung nicht abgechlossen" (Login not completed), without any error message. I tried to add console logs, but the logs do not appear in my expo application during login, only after I hit cancel to return.

I double and triple-checked every variable in the project but cannot seem to make it work.

Is this a known issue for OAuth2 with Apple?

OAuth2 for Google works fine for me, I basically use the same implementation there.

I would appreciate any hints 🙂 Thank you!

abstract cedar
hot geyser
#

Is a fix for this planned for the next weeks? Just seems strange to me that OAuth2 for Google is working, but not for Apple. Might be a apple-related issue tho, found a Reddit where they experience similar issues (on Flutter tho).

fickle quiver
modern totem
#

I heard there're something similar issues in Apple OAuth with BaaS, such as Supabase

#
 try {
      final AuthorizationCredentialAppleID credential =
      await SignInWithApple.getAppleIDCredential(scopes: [
        AppleIDAuthorizationScopes.email,
        AppleIDAuthorizationScopes.fullName,
      ]);

      final OAuthCredential authCredential = OAuthProvider("apple.com").credential(
        idToken: credential.identityToken,
        accessToken: credential.authorizationCode,
      );

      final UserCredential userCredential =
      await FirebaseAuth.instance.signInWithCredential(authCredential);
...
#

One of mate dev said he also experiencing when using Firebase Auth with this code, saying "Sign Up Not Completed".

#

I thought it would be Apple's ridiculous security issue rather than code issue

modern totem
#

There're many complaints about not being able to use Apple Sign-In in new projects,

#

Let's hope Apple cares about it asap.

modern totem
#

I heard this issue was fixed about 12h ago.

#

Could you test it again?