Post

Replies

Boosts

Views

Activity

Reply to `invalid_grant` when exchanging authorization code obtained from `ASAuthorizationAppleIDCredential` on the server-side
Thank-you for replying back to your own question with how you solved it! Turns out that was my original issue also. I then ran into the `invalid_grant` issue again a bit later and found that if you don't provide the original `redirect_uri` it will also raise this error. So if you are validating an auth code for anything but native iOS, you need to return the `redirect_uri` that you sent to Apple.
Apr ’20