This commit is contained in:
Taylor Wilsdon
2026-03-01 18:21:12 -05:00
parent c9facbff3d
commit 5b5da3386c
2 changed files with 7 additions and 4 deletions

View File

@@ -53,9 +53,12 @@ class WellKnownCacheControlMiddleware:
return
path = scope.get("path", "")
is_oauth_well_known = path.startswith(
"/.well-known/oauth-authorization-server"
) or path.startswith("/.well-known/oauth-protected-resource")
is_oauth_well_known = (
path == "/.well-known/oauth-authorization-server"
or path.startswith("/.well-known/oauth-authorization-server/")
or path == "/.well-known/oauth-protected-resource"
or path.startswith("/.well-known/oauth-protected-resource/")
)
if not is_oauth_well_known:
await self.app(scope, receive, send)
return

2
uv.lock generated
View File

@@ -2044,7 +2044,7 @@ wheels = [
[[package]]
name = "workspace-mcp"
version = "1.13.1"
version = "1.14.0"
source = { editable = "." }
dependencies = [
{ name = "cryptography" },