Skip to content

Support cross-origin authentication verification#759

Open
agektmr wants to merge 2 commits intoMasterKale:masterfrom
agektmr:cross-origin
Open

Support cross-origin authentication verification#759
agektmr wants to merge 2 commits intoMasterKale:masterfrom
agektmr:cross-origin

Conversation

@agektmr
Copy link
Copy Markdown
Contributor

@agektmr agektmr commented May 6, 2026

To support cross-origin authentication on SimpleWebAuthn, this pull request adds the following to the verifyAuthenticationResponse.ts:

  • Add a new expectedTopOrigin property to the options
  • Check if crossOrigin is true or false
  • Check if topOrigin meets the expectation

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.

1 participant