mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-25 13:56:46 +00:00
# Which Problems Are Solved When the passkey registration page (/passkey/set) is accessed externally with only a loginName parameter, users encounter a "Missing code in response" error. This occurs because the registration code is only generated for invalid sessions, but external calls typically have valid sessions. # How the Problems Are Solved - Moved registration code generation outside the session validity check in `registerPasskeyLink()` - Code is now generated for both valid and invalid sessions when not provided - Simplified logic: use provided code if available, otherwise generate a new one