BEFORE | 6f21b0f02a8e128374e2a44a48f8b45b270be9f7 Real app dev stack, fresh unseeded database HTTPS proxy simulated by request headers; no model/provider used Backend: 127.0.0.1:16502 | public origin: https://public.example MCP discovery POST /mcp Host: public.example; X-Forwarded-Proto: https; X-Forwarded-Host: (absent) HTTP 401 www-authenticate: Bearer resource_metadata="https://public.example/.well-known/oauth-protected-resource/mcp" content-type: application/json { "error": "invalid_mcp_credential", "message": "A valid T3 Code MCP credential is required." } MCP discovery GET /.well-known/oauth-protected-resource/mcp Host: public.example; X-Forwarded-Proto: https; X-Forwarded-Host: (absent) HTTP 200 content-type: application/json { "resource": "https://public.example/mcp", "authorization_servers": [ "https://public.example" ], "scopes_supported": [ "orchestration:read", "orchestration:operate" ], "bearer_methods_supported": [ "header" ], "resource_name": "T3 Code" } MCP discovery GET /.well-known/oauth-authorization-server Host: public.example; X-Forwarded-Proto: https; X-Forwarded-Host: (absent) HTTP 200 content-type: application/json { "issuer": "https://public.example", "authorization_endpoint": "https://public.example/oauth/mcp/authorize", "token_endpoint": "https://public.example/oauth/mcp/token", "registration_endpoint": "https://public.example/oauth/mcp/register", "response_types_supported": [ "code" ], "grant_types_supported": [ "authorization_code" ], "code_challenge_methods_supported": [ "S256" ], "token_endpoint_auth_methods_supported": [ "none" ], "scopes_supported": [ "orchestration:read", "orchestration:operate" ], "authorization_response_iss_parameter_supported": true } MCP discovery POST /mcp Host: 127.0.0.1:16502; X-Forwarded-Proto: https; X-Forwarded-Host: public.example HTTP 401 www-authenticate: Bearer resource_metadata="https://127.0.0.1:16502/.well-known/oauth-protected-resource/mcp" content-type: application/json { "error": "invalid_mcp_credential", "message": "A valid T3 Code MCP credential is required." } MCP discovery GET /.well-known/oauth-protected-resource/mcp Host: 127.0.0.1:16502; X-Forwarded-Proto: https; X-Forwarded-Host: public.example HTTP 200 content-type: application/json { "resource": "https://127.0.0.1:16502/mcp", "authorization_servers": [ "https://127.0.0.1:16502" ], "scopes_supported": [ "orchestration:read", "orchestration:operate" ], "bearer_methods_supported": [ "header" ], "resource_name": "T3 Code" } MCP discovery GET /.well-known/oauth-authorization-server Host: 127.0.0.1:16502; X-Forwarded-Proto: https; X-Forwarded-Host: public.example HTTP 200 content-type: application/json { "issuer": "https://127.0.0.1:16502", "authorization_endpoint": "https://127.0.0.1:16502/oauth/mcp/authorize", "token_endpoint": "https://127.0.0.1:16502/oauth/mcp/token", "registration_endpoint": "https://127.0.0.1:16502/oauth/mcp/register", "response_types_supported": [ "code" ], "grant_types_supported": [ "authorization_code" ], "code_challenge_methods_supported": [ "S256" ], "token_endpoint_auth_methods_supported": [ "none" ], "scopes_supported": [ "orchestration:read", "orchestration:operate" ], "authorization_response_iss_parameter_supported": true } Shared URL call sites GET / Host: public.example; X-Forwarded-Proto: https; X-Forwarded-Host: (absent) HTTP 200 content-type: text/html; charset=utf-8