Learn how to add passkeys to Duende IdentityServer using Authsignal.
Using passkey autofill to sign in
localhost
as the Relying Party for the purposes of local development.
We also whitelist both the login server and the application server as expected origins.
Configuring the relying party ID and expected origins
https://localhost:5002
, then reauthenticate with the same passkey when signing in to IdentityServer running on https://localhost:5001
.
Adding a passkey
enrollmentToken
here is fetched server-side in /src/WebClient/Pages/Passkeys.cshtml.cs when the page loads.
username webauthn
in the autocomplete attribute.
Signing in with a passkey