All of the mid-session and step-up auth work

This commit is contained in:
Bob Dickinson 2026-07-02 16:35:31 -07:00
commit 562bdd00f1
2 changed files with 11437 additions and 1212 deletions

View file

@ -0,0 +1,22 @@
{
"serverInfo": {
"name": "oauth-step-up-demo",
"version": "1.0.0"
},
"tools": [
{ "preset": "echo" },
{ "preset": "get_temp", "requiredScopes": ["weather:read"] }
],
"oauth": {
"enabled": true,
"mode": "combined",
"requireAuth": true,
"scopesSupported": ["mcp", "tools:read", "weather:read"],
"supportRefreshTokens": true,
"supportDCR": true
},
"transport": {
"type": "streamable-http",
"port": 8081
}
}

View file

@ -3,7 +3,10 @@
"name": "xaa-ema-resource",
"version": "1.0.0"
},
"tools": [{ "preset": "echo" }, { "preset": "get_temp" }],
"tools": [
{ "preset": "echo", "requiredScopes": ["tools:read"] },
{ "preset": "get_env", "requiredScopes": ["tools:read", "env:read"] }
],
"transport": {
"type": "streamable-http",
"port": 8080
@ -13,7 +16,7 @@
"mode": "protected-resource",
"authorizationServers": ["https://auth.resource.xaa.dev"],
"requireAuth": true,
"scopesSupported": ["mcp"],
"scopesSupported": ["mcp", "tools:read", "env:read"],
"accessTokenIssuers": ["https://auth.resource.xaa.dev"],
"jwksUri": "https://auth.resource.xaa.dev/jwks",
"resource": "http://localhost:8080/",