[PR #7097] [MERGED] Dummy org Master password policy auth fix #16766

Closed
opened 2026-04-23 08:05:18 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/7097
Author: @Timshel
Created: 4/14/2026
Status: Merged
Merged: 4/15/2026
Merged by: @dani-garcia

Base: mainHead: fix/sso


📝 Commits (1)

  • 77b48f2 Dummy org Master password policy auth fix

📊 Changes

4 files changed (+33 additions, -12 deletions)

View changed files

📝 src/api/admin.rs (+11 -2)
📝 src/api/core/accounts.rs (+1 -1)
📝 src/api/core/organizations.rs (+20 -8)
📝 src/sso.rs (+1 -1)

📄 Description

Should fix https://github.com/dani-garcia/vaultwarden/issues/7086
The use of a random org uuid in get_auto_enroll_status with the new OrgMemberHeaders guard in get_dummy_master_password_policy resulted in enrollment failures.

Modified the admin invite to use FAKE_SSO_IDENTIFIER for the org_id when SSO is enabled to prevent having to support both values.


🔄 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/7097 **Author:** [@Timshel](https://github.com/Timshel) **Created:** 4/14/2026 **Status:** ✅ Merged **Merged:** 4/15/2026 **Merged by:** [@dani-garcia](https://github.com/dani-garcia) **Base:** `main` ← **Head:** `fix/sso` --- ### 📝 Commits (1) - [`77b48f2`](https://github.com/dani-garcia/vaultwarden/commit/77b48f25033f435b376007bf06f269c92f7e49db) Dummy org Master password policy auth fix ### 📊 Changes **4 files changed** (+33 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `src/api/admin.rs` (+11 -2) 📝 `src/api/core/accounts.rs` (+1 -1) 📝 `src/api/core/organizations.rs` (+20 -8) 📝 `src/sso.rs` (+1 -1) </details> ### 📄 Description Should fix https://github.com/dani-garcia/vaultwarden/issues/7086 The use of a random org uuid in `get_auto_enroll_status` with the new `OrgMemberHeaders` guard in `get_dummy_master_password_policy` resulted in enrollment failures. Modified the admin invite to use `FAKE_SSO_IDENTIFIER` for the `org_id` when SSO is enabled to prevent having to support both values. --- <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-04-23 08:05:18 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vaultwarden#16766