Skip to content

Fetching profile information #45

@dave-vdg

Description

@dave-vdg

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions