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

"Sign In With Apple" didn't return the name #12

Merged
merged 1 commit into from
Mar 1, 2020

Conversation

poldixd
Copy link
Contributor

@poldixd poldixd commented Mar 1, 2020

This pull request fixed #2. Apple sends the name in the request('user'). Here is an examle what Apple sends:

{"email":"[email protected]","name":{"firstName":"poldixd","lastName":"poldixd"}}

This was always false:

https://github.com/GeneaLabs/laravel-sign-in-with-apple/blob/867204f966c5052fab09df4a469b3dc8348ef368/src/Providers/SigninWithAppleProvider.php#L106-L107

@mikebronner
Copy link
Owner

@poldixd Thanks for submitting this PR!

@mikebronner mikebronner merged commit f5f7df8 into mikebronner:master Mar 1, 2020
@poldixd poldixd deleted the patch-1 branch March 1, 2020 17:14
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

Successfully merging this pull request may close these issues.

Sign In With Apple not returning user's name.
2 participants