Error on authorization after creation passkey via API
Environment: self hosting
I am doing the flow described here https://zitadel.com/docs/guides/integrate/login-ui/passkey#login-with-passkey to test passkey flow before development.
I am sending requests to Zitadel using Postman.
1. Create a pass key registration link
2. Start the registration of pass key
3. Register new Passkey on current device
I am using mini html+js script to run the function:
4. Verify a pass key for a user
Passkey is added to Zitadel console, but during login I see the error Errors.User.WebAuthN.BeginLoginFailed. Could you help me to understand why the error heppens?
ZITADEL Docs
Passkeys are a replacement for passwords that provide faster, easier, and more secure sign-ins to websites and apps even across multiple devices.

1 Reply
hey @Guron thanks for yoyr question, please align the
challenges.webAuthN.domain
field or your UI host with the passkey’s registered domain.
This has been raised before 🙂
This Error occurs when ZITADEL refuses to initiate WebAuthn login due to domain/origin mismatch.