Watch
1
0
Fork
You've already forked vaultwarden
0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2026-11-09 07:39:22 -05:00
vaultwarden/playwright/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Timshel acbf49018f
[web-v2026.7.1] 2FA userVerificationToken for Authenticator, Email and Duo (#7563)
* 2FA using userVerificationToken

* Fix 2FA Yubikeys

* TwoFactor.find_by_user_and_type take enum parameter not i32

* log_user_event take enum parameter not i32

* Fix 2fa webauthn

* Prevent 2FA claims reuse

* 2fa webauthn return keys when deleting

* 2fa reset twofactor_remember

* Reject 2FA verification tokens issued for another provider

The Email and Duo claims only have optional fields, so a userVerificationToken minted for another
provider deserialized into them and was accepted. Each provider's claims now reject unknown fields,
with a test that every token only parses as its own provider.

Also fix the email 2FA login in the Playwright user setup, which used an undefined `mailBuffer`.

---------

Co-authored-by: Timshel <timshel@users.noreply.github.com>
Co-authored-by: Daniel García <dani-garcia@users.noreply.github.com>
2026-10-06 23:45:55 +02:00
..
setups [web-v2026.7.1] 2FA userVerificationToken for Authenticator, Email and Duo (#7563) 2026-10-06 23:45:55 +02:00
collection.spec.ts Fix playwright test (#7548) 2026-08-05 21:29:41 +02:00
cyphers.spec.ts Fix playwright test (#7548) 2026-08-05 21:29:41 +02:00
emergency.spec.ts [Web 2026.9.0] Support new Emergency Access password payload (#7746) 2026-10-06 20:28:51 +02:00
login.smtp.spec.ts Fix playwright test (#7548) 2026-08-05 21:29:41 +02:00
login.spec.ts [web-v2026.7.1] 2FA userVerificationToken for Authenticator, Email and Duo (#7563) 2026-10-06 23:45:55 +02:00
organization.smtp.spec.ts Support admin reset 2fa (#7435) 2026-09-08 12:14:01 +02:00
organization.spec.ts SSO using OpenID Connect (#3899) 2025-08-08 23:22:22 +02:00
secrets.spec.ts Fix playwright test (#7548) 2026-08-05 21:29:41 +02:00
send.spec.ts Fix playwright test (#7548) 2026-08-05 21:29:41 +02:00
sso_login.smtp.spec.ts Fix playwright test (#7548) 2026-08-05 21:29:41 +02:00
sso_login.spec.ts Fix playwright test (#7548) 2026-08-05 21:29:41 +02:00
sso_organization.smtp.spec.ts Fix playwright test (#7548) 2026-08-05 21:29:41 +02:00
sso_organization.spec.ts Fix playwright test (#7548) 2026-08-05 21:29:41 +02:00