Sign In with Apple - 500 on Consent

I'm implementing Sign In with Apple into my website but I'm receiving an error during user authentication.


I've sent a valid authorization request, I've authenticated, completed 2FA, but then a JS request is made to https://appleid.apple.com/appleauth/auth/oauth/consent which results in an HTTP 500.


Any ideas what's wrong? Am I missing some config? Could it be because I only signed up for a dev program today?

I am hitting the same error. The HTTP 500 error is in the appleid.apple.com authorization URL after the user enters the second factor security code.

That sounds like it's an icloud related problem.

Unfortunately, the 500 Internal Server Error is coming from Apple's https://appleid.apple.com/appleauth/auth/oauth/consentURL.


The URL is even being called by Apple, from https://appleid.apple.com/auth/authorize

Figured out the cause of the issue. When I included the scope parameter in my authorization request, Apple's consent page would fail. If I did not explicitly state what scopes I wanted, it worked.


I've written up some details on my blog: https://www.scottbrady91.com/OpenID-Connect/Implementing-Sign-In-with-Apple-in-ASPNET-Core

I'm facing 500 error at the POST request {identityServerUrl}/signin-apple. I ensured the scopes are cleared, but no help. Deleted the app from the appleid/manageaccounts website.

Really stuck with Apple Sign in because my iOS app is not approved due to this. The Google sign in works like a butter from day one. Really frustrated.
Sign In with Apple - 500 on Consent
 
 
Q