Skip to content
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

fix/613-cross-origin-flag-verification #624

Merged
merged 1 commit into from
Oct 11, 2024

Conversation

MasterKale
Copy link
Owner

This PR adds verification of the clientDataJSON.crossOrigin value, when present. RPs can use the new allowEmbeddedRegistration and allowEmbeddedAuthentication options in their corresponding verify...Response() methods to fail verification if crossOrigin is present and true when the RP does not expect the site to be embedded on a different site.

Fixes #613.

@MasterKale MasterKale added the package:server @simplewebauthn/server label Oct 8, 2024
@MasterKale MasterKale added this to the v11.0.0 milestone Oct 8, 2024
@MasterKale MasterKale merged commit 11c49fe into master Oct 11, 2024
1 check passed
@MasterKale MasterKale deleted the fix/613-cross-origin-flag-verification branch October 11, 2024 04:51
@MasterKale MasterKale removed this from the v11.0.0 milestone Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:server @simplewebauthn/server
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add cross-origin flag verification
1 participant