-
Notifications
You must be signed in to change notification settings - Fork 68
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
Cant get email and name scopes #72
Comments
This is happening since you have already signed with Apple at least once. It is totally normal. In order to get those values, go to Settings --> your profile --> Password and Security --> and remove your app in the list of apps that uses Apple ID |
I have the same problem |
Revoke sign in records doesn't work on plugin version 5.0.0. |
From the response you get back, you have a |
@Plucks77 identityToken didn't always contain email. see my real example test. So there is only one sign can guarantee email exist in Apple response. When use AppleID to login, if the screen asked user whether chose his own email or proxy email(hide user real email), then this AppleLogin will always contain email and name values in response. |
It's very interesting when ask AI, Google and Skype, they all said email can be extracted from identityToken. Unfortunately AI is wrong in this case. Google AI seems smarter than Skype. Because it's response is not absolute. |
Describe the bug
SignInWithApple.authorize({
clientId: [clientId],
redirectURI: [redirectURI],
scopes: 'email name',
state: '12345',
nonce: 'nonce',
})
Not returning email and name
To Reproduce
Steps to reproduce the behavior:
1.
SignInWithApple.authorize({
clientId: [clientId],
redirectURI: [redirectURI],
scopes: 'email name',
state: '12345',
nonce: 'nonce',
}).then(response => console.log(response))
Expected behavior
return response w name and email
{
response: {
authorizationCode: [authorizationCode],
email: [email]
familyName: [familyName]
givenName: [givenName],
identityToken: [identityToken],
user: [appleUserId]
}
}
Screenshots

Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: