Closed apfz closed 6 months ago
This issue has been marked stale because it has not seen any activity within three months. If you believe this to be an error, please contact one of the code owners. This issue will be closed within 15 days of being stale.
This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners.
Describe the bug When adding passport-apple I am receiving an empty profile response.
To Reproduce I've implemented a custom apple oauth provider in
apple-oauth2-verify.provider.ts
: (NOTE: the docs show a wrong return function. idToken is returned as 3rd argument, not the profile)Bound it in application.ts:
this.bind(Strategies.Passport.APPLE_OAUTH2_VERIFIER).toProvider(AppleOauth2VerifyProvider);
and added the endpoints in login.controller:
Expected behavior In the
apple-oauth2-verify.provider.ts
file I expected the profile to contain the user profile information.I do get the code, state and user object successfully back from Apple but it is not being recognized. Do I need to implement this differently?