[PR #3806] [MERGED] Allow Authorization header for Web Sockets #32367

Closed
opened 2026-06-20 19:13:43 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/3806
Author: @BlackDex
Created: 8/27/2023
Status: Merged
Merged: 8/31/2023
Merged by: @dani-garcia

Base: mainHead: fix-3776


📝 Commits (1)

  • aa9bc1f Allow Authorization header for Web Sockets

📊 Changes

2 files changed (+33 additions, -2 deletions)

View changed files

📝 src/api/notifications.rs (+10 -2)
📝 src/auth.rs (+23 -0)

📄 Description

Some clients (Thirdparty) might use the Authorization header instead of a query param. We didn't supported this since all the official clients do not seem to use this way of working. But Bitwarden does check both ways.

This PR adds an extra check for this header which can be optional.

Fixes #3776


🔄 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/3806 **Author:** [@BlackDex](https://github.com/BlackDex) **Created:** 8/27/2023 **Status:** ✅ Merged **Merged:** 8/31/2023 **Merged by:** [@dani-garcia](https://github.com/dani-garcia) **Base:** `main` ← **Head:** `fix-3776` --- ### 📝 Commits (1) - [`aa9bc1f`](https://github.com/dani-garcia/vaultwarden/commit/aa9bc1f78531d071896d41ea52d48cd1ea2a19d7) Allow Authorization header for Web Sockets ### 📊 Changes **2 files changed** (+33 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/api/notifications.rs` (+10 -2) 📝 `src/auth.rs` (+23 -0) </details> ### 📄 Description Some clients (Thirdparty) might use the `Authorization` header instead of a query param. We didn't supported this since all the official clients do not seem to use this way of working. But Bitwarden does check both ways. This PR adds an extra check for this header which can be optional. Fixes #3776 --- <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-06-20 19:13:43 -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#32367