The relying party identifies your application to users, when users create/use passkeys. (Read more here).
id: The relying party identifier is a valid domain string identifying the WebAuthn Relying Party.
In other words, its the domain your application is running on, which will be tied to the passkeys that users create.
We advise to use the root domain, not the full domain (eg acme.com, not app.acme.com nor foo.app.acme.com), that way, passkeys created
by your users can be re-used on other subdomains (eg. on foo.acme.com and bar.acme.com) in the future. Read more here.
name: A string representing the name of the relying party (e.g. "Acme"). This is the name the user will be presented with when creating or validating a WebAuthn operation.
id: string
name: string
Optionaltimeout?: number
Timeout to use for navigotor.credentials calls. That's the time after which if user did not successfully
select and use his passkey, an error will be thrown by webauthn client. Read more here.
The relying party identifies your application to users, when users create/use passkeys. (Read more here).
acme.com
, notapp.acme.com
norfoo.app.acme.com
), that way, passkeys created by your users can be re-used on other subdomains (eg. onfoo.acme.com
andbar.acme.com
) in the future. Read more here.