mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-07-17 01:12:27 -05:00
[PR #3806] [MERGED] Allow Authorization header for Web Sockets #21545
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/3806
Author: @BlackDex
Created: 8/27/2023
Status: ✅ Merged
Merged: 8/31/2023
Merged by: @dani-garcia
Base:
main← Head:fix-3776📝 Commits (1)
aa9bc1fAllow 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
Authorizationheader 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.