I recently integrated Auth0 into my app. While testing, I discovered that when using my apple ID to login, the userinfo
endpoint does not return an email
value, even though it’s included in the scopes. Login with Google, for example, works as advertised. Anyone running into similar issues & was able to resolve this?
Scopes: openid profile email offline_access
When you receive the initial response from Apple’s authentication system, check if the email
field is present. If it’s missing, it means the user did not authorize sharing their email.
If the email
field is missing, you can provide an additional prompt to the user, requesting them to manually enter their email address. This way, you can still capture their email information and associate it with their account in your app.