-2

I was able to create public-private key pair using web authentication in the browser for a domain "www.exxample.ba" but i am not able to access the credentials using get() from "www.example.co.in".

Is there any way to get past this limitation like using an extension or something.

Santosh
  • 75
  • 6

1 Answers1

3

The simple answer to your question is no, the API itself fundamentally prevents your use case from being possible.

Digging into it a bit, WebAuthn credentials are bound to an RP ID that is the "effective domain" of a single website. The rules are fairly straightforward:

IAmKale
  • 3,146
  • 1
  • 25
  • 46