You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(webauthn): preserve user_handle when adding a second security key
The WebAuthn specification requires that user.id (user_handle) remains
stable for the lifetime of an identity. The settings flow was
unconditionally overwriting user_handle with the session identity ID
each time a new WebAuthn credential was added, causing previously
registered authenticators to fail during login because the stored
handle no longer matched.
Only set UserHandle when it is not yet present (first credential added
via settings). Existing credentials keep their original handle.
Closes#4519
0 commit comments