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?
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?