@aaronpk Hi Aaron, I read your article about Apple Sign In. I'm also having trouble getting the email address from the token, while the sample iOS app does receive the email. I tried a lot of different scopes, but they all result in the same data. Is Apple aware of these issues?
1
I opened a ticket on the developer support forum: forums.developer.apple.com/m…
1
Another question: did you manage to exchange the authorization code provided by the Apple Sign In framework on iOS for a token using the REST API? I'm getting "invalid_grant".
2
1
Hi, Jeroen. Did you manage to figure out what was causing the "invalid_grant" error for you? I'm implementing Sign in with Apple right now and I'm also getting "invalid_grant". 🤔
1
Nope. It's still on our backlog to fix someday, but I'm waiting for their implementation to be more stable.
1
1
Ah, that’s a shame. It seemed to be going well so far and I thought I'd be done today but since getting "invalid_grant" I've made no progress (I'm using it in an Expo app). I've seen it mentioned in a few places but nobody seems to have a solution. Thanks for the quick reply. 👍
1
They pushed out some changes a little bit ago and I have been able to exchange the authorization code and get the user info now! I updated my post so maybe take a look through it again. developer.okta.com/blog/2019…
1
1
Why do you say you don't need a redirect_uri? That's probably the problem if you're not including it.
Nov 6, 2019 · 2:35 PM UTC
1


