Learn how to optimize your local development setup when integrating passkeys into your app.
With the pre-built UI you can use the same config for local dev and production
localhost
in your configuration even when
your app is running on localhost, because all passkey interactions happen on your custom domain.localhost
.localhost
for this tenant.
Setting your Relying Party ID to localhost
http
and port e.g. 3000
in the expected origin.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.