mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-03-09 04:32:44 -05:00
[PR #6820] Add webauthn login #7482
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/6820
Author: @samos667
Created: 2/12/2026
Status: 🔄 Open
Base:
main← Head:webauthn📝 Commits (1)
1653101Feat add webauthn login📊 Changes
16 files changed (+657 additions, -28 deletions)
View changed files
➕
migrations/mysql/2026-02-12-000000_add_web_authn_credentials/down.sql(+1 -0)➕
migrations/mysql/2026-02-12-000000_add_web_authn_credentials/up.sql(+10 -0)➕
migrations/postgresql/2026-02-12-000000_add_web_authn_credentials/down.sql(+1 -0)➕
migrations/postgresql/2026-02-12-000000_add_web_authn_credentials/up.sql(+10 -0)➕
migrations/sqlite/2026-02-12-000000_add_web_authn_credentials/down.sql(+1 -0)➕
migrations/sqlite/2026-02-12-000000_add_web_authn_credentials/up.sql(+10 -0)📝
src/api/core/mod.rs(+155 -8)📝
src/api/core/two_factor/webauthn.rs(+2 -2)📝
src/api/identity.rs(+317 -3)📝
src/auth.rs(+3 -0)📝
src/db/models/mod.rs(+2 -0)📝
src/db/models/two_factor.rs(+1 -0)📝
src/db/models/user.rs(+2 -0)➕
src/db/models/web_authn_credential.rs(+127 -0)📝
src/db/schema.rs(+15 -0)📝
src/static/templates/scss/vaultwarden.scss.hbs(+0 -15)📄 Description
Inspired from https://github.com/dani-garcia/vaultwarden/pull/5929 when trying to address raised issues, work for firefox and chrome. I have not yet tested the migration.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.