mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-05-24 17:12:43 -05:00
[PR #6160] [MERGED] make webauthn more optional #12593
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/6160
Author: @stefan0xC
Created: 8/9/2025
Status: ✅ Merged
Merged: 8/26/2025
Merged by: @dani-garcia
Base:
main← Head:make-webauthn-optional📝 Commits (2)
792499bmake webauthn optional1e36d8ehide passkey if domain is not set📊 Changes
6 files changed (+33 additions, -57 deletions)
View changed files
📝
src/api/core/two_factor/webauthn.rs(+13 -39)📝
src/api/identity.rs(+8 -16)📝
src/api/web.rs(+1 -0)📝
src/config.rs(+4 -0)📝
src/main.rs(+0 -2)📝
src/static/templates/scss/vaultwarden.scss.hbs(+7 -0)📄 Description
I don't think that we need initialize webauthn on startup (which currently fails if you set
DOMAINto an IP address because webauthn requires a domain name asrp_id). I've also hidden it as an option if you have setup the domain to be an IP address.This won't touch on the other issues that were reported but I do think that it's important that Vaultwarden can start with something like
DOMAIN=http://127.0.0.1:8000.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.