Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Email in Decoded JWT from Apple Authentication #174

Open
realkoder opened this issue Sep 19, 2024 · 1 comment
Open

Missing Email in Decoded JWT from Apple Authentication #174

realkoder opened this issue Sep 19, 2024 · 1 comment

Comments

@realkoder
Copy link

Hi there,

I have been troubleshooting an issue for several days and would appreciate any insights you might have. When using this arctic library, I'm able to receive all necessary data from Apple without encountering any HTTP errors or exceptions. However, I am not receiving the email field in the decoded JWT payload from response.id_token.

Interestingly, this issue only occurs for users other than myself. When I use my own Apple ID, which is connected to my Apple Developer account (where all configurations are stored), I receive the email without any problems. However, for other users, the email field is missing in the JWT payload.

Has anyone experienced a similar issue, or does anyone know how to resolve this?

Thank you in advance for your help.

Best regards,
Alexander

@pilcrowonpaper
Copy link
Owner

Hi, sorry. Saw a similar question on Discord around the same time and assumed it was you. Do "other users" refer to all users or just test accounts? Apple on returns the email on the first attempt and the user needs to manually delete the OAuth app from their account. You can probably also reset your OAuth client as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants