-
Notifications
You must be signed in to change notification settings - Fork 49
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
Profile is empty in Nestjs #47
Comments
Hello, this seems to be working for me.
Please note that the profile info (a.k.a the First and Last Name) are shown only the FIRST time you sign in to the app. The next time you sign in, Apple will not provide you with this information. You can revoke the app by going into Sign in with Apple section on appleid.apple.com |
Same issue here with express. returns empty object. |
It will always return empty object for profile, because this package actually never sets the profile attribute. @ananay if you want to implement it, you will need to override this method https://github.com/jaredhanson/passport-oauth2/blob/master/lib/strategy.js#L318, but from what i've seen, Apple is not using access token, so I don't think it's possible now. You can use my template below which should work with @nestjs/passport 10.0.2.
|
even with this implementation i am receiving empty idToken |
My idToken is an empty object aswell! |
Profile parameter returns empty object on validate function Nestjs.
The text was updated successfully, but these errors were encountered: