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 return
path = scope.get("path", "") path = scope.get("path", "")
is_oauth_well_known = path.startswith( is_oauth_well_known = (
"/.well-known/oauth-authorization-server" path == "/.well-known/oauth-authorization-server"
) or path.startswith("/.well-known/oauth-protected-resource") 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: if not is_oauth_well_known:
await self.app(scope, receive, send) await self.app(scope, receive, send)
return return

2
uv.lock generated
View File

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