Skip to content

Custom Nonce passing as an additional parameter is not properly configured #736

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 6 commits into from
Jun 12, 2022

Conversation

AnassHmida
Copy link
Contributor

Description

The nonce is not setup correctly once it's passed from JS to the native side as an additional parameter , resulting in a nonce comparison error.

When the nonce is passed as a parameter in the additional parameters section , and setting UseNonce to true , the native side does not take in consideration those changes and keeps the randomly generated nonce instead for comparison.

This PR helps checking if there is a nonce being passed in the additional parameters section and changes it if there is.

Remove the nonce from the additional parameters once it's added to the authRequestBuilder
@kadikraman kadikraman merged commit 258cb6d into FormidableLabs:main Jun 12, 2022
@kadikraman
Copy link
Contributor

This is published in the next release candidate 7.0.0-rc1 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants