mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-10 17:23:04 +03:00
[PR #5491] [MERGED] Fix Duo Field Names for Web Client #2578
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/5491
Author: @ratiner
Created: 1/28/2025
Status: ✅ Merged
Merged: 1/29/2025
Merged by: @BlackDex
Base:
main← Head:fix-duo-fields📝 Commits (3)
9c1bf92Fix Duo Field Names for Web Client157dfcdFix Api Validation27665b1Rename Duo Labels In Admin📊 Changes
2 files changed (+13 additions, -13 deletions)
View changed files
📝
src/api/core/two_factor/duo.rs(+11 -11)📝
src/config.rs(+2 -2)📄 Description
Looks like the web client expects different fields for duo integration.
The changes were introduced in the following commit:
41e1d91558 (diff-2be3b52c1ad01eac329688bca2644e0aa1f819167ed8a9d52ed57f72e18b8aa8L4)41e1d91558 (diff-8813d04cfcaad734e34e034e8a85eeb4a528d55aeb52b5c88e6bcbfced9fc260L13)Web client sends different fields to the API (and also receives wrong ones):
clientSecretinstead ofsecretKeyandclientIdinstead ofintegrationKeyI believe, this PR can address this.
When saving:

When loading (Client Id and Client Secret is empty):

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.