We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae105b6 commit 7b7a733Copy full SHA for 7b7a733
src/mcp/server/auth/middleware/bearer_auth.py
@@ -34,7 +34,9 @@ def __init__(
34
self.provider = provider
35
36
async def authenticate(self, conn: HTTPConnection):
37
- auth_header = conn.headers.get("Authorization") or conn.headers.get("authorization")
+ auth_header = conn.headers.get("Authorization") or conn.headers.get(
38
+ "authorization"
39
+ )
40
if not auth_header or not auth_header.startswith("Bearer "):
41
return None
42
0 commit comments