[PR #6820] Add webauthn login #7482

Open
opened 2026-03-07 21:18:19 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/6820
Author: @samos667
Created: 2/12/2026
Status: 🔄 Open

Base: mainHead: webauthn


📝 Commits (1)

📊 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.

## 📋 Pull Request Information **Original PR:** https://github.com/dani-garcia/vaultwarden/pull/6820 **Author:** [@samos667](https://github.com/samos667) **Created:** 2/12/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `webauthn` --- ### 📝 Commits (1) - [`1653101`](https://github.com/dani-garcia/vaultwarden/commit/16531014fabaca16776fce22ba7a9a1511b11078) Feat add webauthn login ### 📊 Changes **16 files changed** (+657 additions, -28 deletions) <details> <summary>View changed files</summary> ➕ `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) </details> ### 📄 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-07 21:18:19 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vaultwarden#7482