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

Still not getting name and email #6

Open
constantintaivan opened this issue Jul 2, 2021 · 0 comments
Open

Still not getting name and email #6

constantintaivan opened this issue Jul 2, 2021 · 0 comments

Comments

@constantintaivan
Copy link

Hi,

My app is a .Net Core 3.1 and added the scopes but still not getting the name and email under idtoken.
I'm using the ExternalLogin.cshtml.cs scaffolding since I have Sign in with Google working.
For Apple I do get the code and idtoken and cookie is generated and app can authenticate but missing name and email.

When reaching OnGetCallbackAsync from ExternalLogin.cs, await _signInManager.GetExternalLoginInfoAsync() is null. However, I manged to advance it without creating the user profile.
The /SignInApple callback is not reached, was expecting the user data here too. At which stage is called? (actually haven't seen one in your sample).

Should I do a new request to"https://appleid.apple.com/auth/token" based on received code in order to get the name/email?

I've posted a comment here:
https://developer.apple.com/forums/thread/118209?page=4

Thanks

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

1 participant