mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-09-08 22:21:07 +00:00
fix: add jwks_uri and resource_signing_alg to protected resource metadata
The standalone MCP worker's /.well-known/oauth-protected-resource was missing jwks_uri and resource_signing_alg_values_supported, causing inconsistency with the mono API's metadata and failing spec compliance.
This commit is contained in:
parent
543c45a626
commit
0b349e588d
1 changed files with 2 additions and 0 deletions
|
|
@ -58,8 +58,10 @@ app.get("/.well-known/oauth-protected-resource", (c) => {
|
|||
return c.json({
|
||||
resource: resourceUrl,
|
||||
authorization_servers: [apiUrl],
|
||||
jwks_uri: `${apiUrl}/api/auth/mcp/jwks`,
|
||||
scopes_supported: ["openid", "profile", "email", "offline_access"],
|
||||
bearer_methods_supported: ["header"],
|
||||
resource_signing_alg_values_supported: ["RS256"],
|
||||
resource_documentation: "https://docs.supermemory.ai/mcp",
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue