Back

error with apple OAuth login in web

  • 0
  • Auth
  • Web
manazo
14 Mar, 2024, 10:22

I've filled all the necessary fields to enable apple login following this article. but it still can't successfully login the user. it's my first time implementing apple OAuth. so i'm not sure if apple have anything similar to facebook and google OAuth where we first need to enable the app to work with all users. The error screens are attached. The screen record is in swedish language. Below are some key translations: Dela min e-postadress = Share my e-mail Dölj min e-postadress = hide my e-mail Registreringen slutfördes inte = The registration could not complete

I've also attached the subdomain and return URL i've set in apple developer portal. Do anyone have any idea why it's happening and how to solve it? Any kinda help will be appreciated

Stack: NextJS@14 Appwrite: Cloud

TL;DR
Developers encountering an "invalid_client" error during Apple OAuth login on a web platform. They followed a guide for Apple login implementation, filled in all necessary fields, but users still can't successfully log in. Attached error screens in Swedish. Seeking help to understand and fix the issue. Stack: NextJS@14, Appwrite: Cloud. Solution: It seems like the issue might be with the client configuration in the Apple Developer Portal. Ensure that the subdomain and return URLs are correctly set up. Double-check the settings and try the login process again after making any necessary adjustments.
manazo
14 Mar, 2024, 10:23

here's the subdomain and return URL i've set in apple dev portal. forgot to put it in the post

manazo
14 Mar, 2024, 10:27

The "invalid_client" screen automatically occurs after a few sec when i do nothing after the registration failure and keep it as it is

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