Back

[SOLVED] Getting `Sign-Up Not Completed`, error for Apple-OAuth

  • 0
  • Apple
D5
12 Dec, 2023, 08:26

Do you get any errors from Appwrite side?

TL;DR
Issue: Users are getting a "Sign-Up Not Completed" error for Apple-OAuth when trying to sign up. Solution: 1. Make sure the bundle ID in Appwrite settings is "<team_id>.<bundle_id>". 2. Create a service ID for Sign in with Apple in the Apple Developer website if not already created. 3. Put the correct bundle ID, which is the Flutter application ID, in the bundle ID section in Appwrite. 4. Check the service ID and redirect URI in Apple to ensure they match with the configuration in Appwrite. 5. If needed, debug by browsing to "https://[HOST
Vedsaga
12 Dec, 2023, 17:16

umm, not sure have was running in compile version need to run in Simulator

Drake
12 Dec, 2023, 18:13

This is most likely a mismatching configuration between Appwrite and Apple. Make sure to follow https://dev.to/appwrite/apple-sign-in-with-appwrite-2576.

You can also try to debug by browsing to https://[HOST]/v1/account/sessions/oauth2/apple?project=[PROJECT ID] on a desktop with the browser dev tools open so you can see the network logs

Vedsaga
13 Dec, 2023, 05:57

seeing this, btw in the status it shows 301

Drake
13 Dec, 2023, 06:49

What's the service id and redirect uri in apple?

Vedsaga
13 Dec, 2023, 06:50

redirect url kept same as, provided in the https://cloud.appwrite.io/v1/account/sessions/oauth2/callback/apple/646be9bdedf16348a634

Vedsaga
13 Dec, 2023, 06:52

service-id is com.mytrailpals.MyTrailPalsAppwrite

Drake
13 Dec, 2023, 06:56

This needs to be put in the bundle id section in Appwrite

Vedsaga
13 Dec, 2023, 06:57

ahh, and not the app bundle id?

Vedsaga
13 Dec, 2023, 06:57

I thought bundle id means the app-bundle-id which mean we need to put the flutetr application id

Drake
13 Dec, 2023, 07:00

Nope. This is mentioned in the article: https://dev.to/appwrite/apple-sign-in-with-appwrite-2576

Vedsaga
13 Dec, 2023, 07:00

just corrected it, hope will works now

canbi
13 Dec, 2023, 07:13

Hey @Vedsaga, Did you create Service for Sign in for Apple in Apple Developer website? I was getting same error, after creating service for apple sign in, it resolved.

Also, as Steven said, bundle id in Appwrite settings should. be <team_id>.<bundle_id>

canbi
13 Dec, 2023, 07:15

If you didn't create service Id for Sign in with Apple, you need to create one.

Vedsaga
13 Dec, 2023, 07:16

thank you, service ID did created... just that seems bundle-id was not correctly set... right now it seems app-bundle-id is what confused with service-bundle-id

Vedsaga
13 Dec, 2023, 07:17

just haven't properly config, I will try to set it again the bundle-id correctly... btw <team_id>.<bundle_id> ? or it should only be <bundle_id> no?

canbi
13 Dec, 2023, 07:19

It should <team_id>.<bundle_id> as same as written in Sign in with Apple Key in Apple developer page.

Vedsaga
13 Dec, 2023, 07:21

thank you πŸ™Œ

D5
13 Dec, 2023, 10:29

Tell us if the issue is solved

D5
13 Dec, 2023, 10:29

With that

Vedsaga
13 Dec, 2023, 10:30

surely... going to trying and confirm back here

Vedsaga
14 Dec, 2023, 05:28

can confirm that, it solved the issue...

Vedsaga
14 Dec, 2023, 05:45

Just wonder, why when apple-login happens it only fetching... why it's not fetching the full-name from apple?

Vedsaga
14 Dec, 2023, 05:45

<SOLVED> Getting Sign-Up Not Completed, error for Apple-OAuth

Drake
15 Dec, 2023, 02:17

[SOLVED] Getting Sign-Up Not Completed, error for Apple-OAuth

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more