webauthn fails to login #246

Closed
opened 2026-04-05 20:42:59 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @yaguangtang on 12/7/2025

Prerequisites

Vaultwarden Support String

Page not found!

Vaultwarden Build Version

2025.7

Deployment method

Official Container Image

Custom deployment method

I have enabled webauthn for 2FA auth, recently when i try to login in browser, it fails with

console-log.service.ts:53 WebAuthn error: TypeError: Failed to execute 'get' on 'CredentialsContainer': Failed to read the 'challenge' property from 'PublicKeyCredentialRequestOptions'

Reverse Proxy

docker compose

Host/Server Operating System

Linux

Operating System Version

docker

Clients

Web Vault

Client Version

No response

Steps To Reproduce

after login with master password, try with the 2FA webauthn, the browser console has error message

console-log.service.ts:53 WebAuthn error: TypeError: Failed to execute 'get' on 'CredentialsContainer': Failed to read the 'challenge' property from 'PublicKeyCredentialRequestOptions'

Expected Result

browser prompt webauthn keys

Actual Result

content_script.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'control')
    at content_script.js:1:422999
    at Array.some (<anonymous>)
    at shouldOfferCompletionListForField (content_script.js:1:422984)
    at elementWasFocused (content_script.js:1:423712)
    at HTMLDocument.focusInEventHandler (content_script.js:1:423069)

Logs


Screenshots or Videos

No response

Additional Context

No response

*Originally created by @yaguangtang on 12/7/2025* ### Prerequisites - [x] I have searched the existing **Closed _AND_ Open** [Issues](https://github.com/dani-garcia/vaultwarden/issues?q=is%3Aissue%20) **_AND_** [Discussions](https://github.com/dani-garcia/vaultwarden/discussions?discussions_q=) - [x] I have searched and read the [documentation](https://github.com/dani-garcia/vaultwarden/wiki/) ### Vaultwarden Support String Page not found! ### Vaultwarden Build Version 2025.7 ### Deployment method Official Container Image ### Custom deployment method I have enabled webauthn for 2FA auth, recently when i try to login in browser, it fails with console-log.service.ts:53 WebAuthn error: TypeError: Failed to execute 'get' on 'CredentialsContainer': Failed to read the 'challenge' property from 'PublicKeyCredentialRequestOptions' ### Reverse Proxy docker compose ### Host/Server Operating System Linux ### Operating System Version docker ### Clients Web Vault ### Client Version _No response_ ### Steps To Reproduce after login with master password, try with the 2FA webauthn, the browser console has error message console-log.service.ts:53 WebAuthn error: TypeError: Failed to execute 'get' on 'CredentialsContainer': Failed to read the 'challenge' property from 'PublicKeyCredentialRequestOptions' ### Expected Result browser prompt webauthn keys ### Actual Result ``` content_script.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'control') at content_script.js:1:422999 at Array.some (<anonymous>) at shouldOfferCompletionListForField (content_script.js:1:422984) at elementWasFocused (content_script.js:1:423712) at HTMLDocument.focusInEventHandler (content_script.js:1:423069) ``` ### Logs ```text ``` ### Screenshots or Videos _No response_ ### Additional Context _No response_
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#246