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

Apple Resource Owner #2035

Open
tomazartack opened this issue Jan 9, 2025 · 1 comment
Open

Apple Resource Owner #2035

tomazartack opened this issue Jan 9, 2025 · 1 comment

Comments

@tomazartack
Copy link

Q A
Bug? yes
New Feature? no
Support question? yes
Version 2.x

Actual Behavior

After apple login, although scopes "email name" are given, first name and last name are not available in "UserResponseInterface $userInformation" object. Calling $userInformation->getFirstName() and $userInformation->getLastName() returns null.

Expected Behavior

I'd expect the information to be present correctly.
The problem likely is with Apple API, they say that in subsequent API calls after login, they no longer provide user information such as first and last name. This library's Apple resource owner likely needs refactoring to take that into account

Steps to Reproduce

Followed documentation to set up Apple login.

@tomazartack
Copy link
Author

tomazartack commented Jan 9, 2025

Did anyone else have success with Apple? Retrieving first and last name? The email shows up correctly.
Here is a link also: https://forums.developer.apple.com/forums/thread/762871
I see the same data, as in the JWT payload in that question on apple forum. So, no first and last name. What can we do here? Does somebody have a workaround?

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