Skip to content

fix(apple-sign-in): SHA256 hash nonce in request #241

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

Merged
merged 1 commit into from
Feb 27, 2022

Conversation

keerl
Copy link
Contributor

@keerl keerl commented Feb 27, 2022

This fixes an error I was getting with apple-sign-in: The nonce in ID Token ".50xHLsLxSFOPjxki9sDXuAVTas5G8fi" does not match the SHA256 hash of the raw nonce ".50xHLsLxSFOPjxki9sDXuAVTas5G8fi" in the request..

The nonce in the request should be SHA256 hashed (https://firebase.google.com/docs/auth/ios/apple#sign_in_with_apple_and_authenticate_with_firebase).

@cla-bot cla-bot bot added the cla: yes label Feb 27, 2022
@triniwiz triniwiz merged commit a715d9a into NativeScript:main Feb 27, 2022
@keerl keerl deleted the fix/apple-sign-in-nonce-hash branch February 28, 2022 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants