Skip to content

Still not getting name and email #6

@constantintaivan

Description

@constantintaivan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions