-
Notifications
You must be signed in to change notification settings - Fork 630
Open
Description
It seems like the first name and last name is not being fetched for Apple Sign-In even if the name scope has been specified. I tried looking at the code it mentioned:
Lines 124 to 130 in 4b34e17
| // Apple doesn't seem to provide a user profile endpoint like all the other providers do. | |
| // Therefore this will return a User with the unique identifier obtained through authorization | |
| // as the only identifying attribute. | |
| // A full name and email can be obtained from the form post response (parameter 'user') | |
| // to the redirect page following authentication, if the name and email scopes are requested. | |
| // Additionally, if the response type is form_post and the email scope is requested, the email | |
| // will be encoded into the ID token in the email claim. |
Since CompleteUserAuth has access to the request, I was thinking that fetching the names should be possible, though there would be a change on the method signature of FetchUser.
Just wondering if the omission was more of a limitation or was this intentional? If it's a limitation with the current implementation I'd like to take a stab at implementing this.
Metadata
Metadata
Assignees
Labels
No labels