Users reported a bug where authenticating with a YubiKey during email verification redirects to a blank page or fails with a 400 error, while TOTP works fine. The issue was initially observed by Wolftallemo and confirmed by Falco and others. Initial investigation revealed JavaScript errors caused by I18n being loaded too late dan. After a fix was deployed, Falco reported a new error in Firefox — a DOMException during WebAuthn credential retrieval — and noted a UI issue with button color in dark mode. dan confirmed the fix worked in Chrome with YubiKey 5 NFC and macOS Touch ID. Falco specified using Firefox with the same YubiKey. The issue was ultimately resolved by dan via commit f1b97202, which addressed the WebAuthn failure in Firefox.
When I try changing my primary email, when I attempt to authenticate with my yubikey, I am sent to a blank page, whereas if I try with totp it works.
Trying to authenticate with a yubikey sends me to https://example.com/u/confirm-new-email/ instead of the yubikey authentication page (or it is the correct url and it’s not displaying?)
Same thing happened to me. Trying to use webauthn fails with a POST returning 400. Falling back to TOTP works, so it’s only reproducible on webauthn path.
What browser and security key are you using? I just tested this here, with YubiKey 5 NFC and Chrome on Linux and MacBook Pro’s fingerprint reader and Chrome and it worked.