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 58c5e72 commit ae105b6Copy full SHA for ae105b6
src/mcp/server/auth/middleware/bearer_auth.py
@@ -34,7 +34,7 @@ def __init__(
34
self.provider = provider
35
36
async def authenticate(self, conn: HTTPConnection):
37
- auth_header = conn.headers.get("Authorization")
+ auth_header = conn.headers.get("Authorization") or conn.headers.get("authorization")
38
if not auth_header or not auth_header.startswith("Bearer "):
39
return None
40
0 commit comments