Build custom passkey interfaces with full design control using client SDKs
example.com
). Then click Activate passkeys.
localhost
as the Relying Party ID.https://auth.example.com
).Defining the expected origins for your domain
http://localhost:3000
.add:authenticators
must be specified if
the user is already enrolled with an authenticator - this includes another passkey.In such cases you should ensure users are strongly authenticated with an existing method before creating the
passkey. Learn more about authenticator binding.signUp
function in one of our Client SDKs or Client API, passing the token returned in step 1.
signIn
function in one of our Client SDKs:
signIn
function in one of our Client SDKs and set the autofill
param to true.
signIn()
when the
field is focused.example.com
) instead of using localhost - e.g. by editing your hosts file.
You will likely also need to use a self-signed development certificate to run your app locally on an https endpoint.