Skip to content

Fetching profile information #45

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

Open
dave-vdg opened this issue Jul 5, 2024 · 0 comments
Open

Fetching profile information #45

dave-vdg opened this issue Jul 5, 2024 · 0 comments

Comments

@dave-vdg
Copy link

dave-vdg commented Jul 5, 2024

Hi, I am currently implementing the passport-apple auth to my login.

So far I receive the tokenId which I am decoding and can see the users identity information from apple.
the profile param is an empty object, I am not sure if that's the default value as it is mentioned that apple hasn't implemented passing the data to it.

Nevertheless I need the first and last name, it is mentioned that we can fetch this information as well but I couldn't find any information on where the info is stored in the docs.

This is mentioned in the doc:
passport-apple now supports fetching profile information as well by using a simpler workaround (shoutout to [@MotazAbuElnasr](https://github.com/MotazAbuElnasr) for this!) instead of rewriting all of passport-oauth2.

Can someone please point me in the right direction?

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