MCP OAuth token endpoint — after Commit: 344c005d377332775f7eb816bec31dfd4ddaa795 Environment: Linux; real vp run dev server; T3CODE_DEV_SEED=0; fresh isolated database; HTTP loopback. Endpoint: POST /oauth/mcp/token Content-Type: application/x-www-form-urlencoded === missing grant_type === Request body: '' HTTP/1.1 400 Bad Request content-type: application/json content-length: 86 vary: Accept-Encoding, Origin access-control-allow-credentials: true cache-control: no-store pragma: no-cache Date: Fri, 13 Nov 2026 02:36:20 GMT Connection: keep-alive Keep-Alive: timeout=95 {"error":"invalid_request","error_description":"grant_type is required exactly once."} === empty grant_type === Request body: 'grant_type=' HTTP/1.1 400 Bad Request content-type: application/json content-length: 86 vary: Accept-Encoding, Origin access-control-allow-credentials: true cache-control: no-store pragma: no-cache Date: Fri, 13 Nov 2026 02:36:20 GMT Connection: keep-alive Keep-Alive: timeout=95 {"error":"invalid_request","error_description":"grant_type is required exactly once."} === duplicate grant_type === Request body: 'grant_type=authorization_code&grant_type=authorization_code' HTTP/1.1 400 Bad Request content-type: application/json content-length: 86 vary: Accept-Encoding, Origin access-control-allow-credentials: true cache-control: no-store pragma: no-cache Date: Fri, 13 Nov 2026 02:36:20 GMT Connection: keep-alive Keep-Alive: timeout=95 {"error":"invalid_request","error_description":"grant_type is required exactly once."} === unsupported grant control === Request body: 'grant_type=refresh_token' HTTP/1.1 400 Bad Request content-type: application/json content-length: 94 vary: Accept-Encoding, Origin access-control-allow-credentials: true cache-control: no-store pragma: no-cache Date: Fri, 13 Nov 2026 02:36:20 GMT Connection: keep-alive Keep-Alive: timeout=95 {"error":"unsupported_grant_type","error_description":"Only authorization_code is supported."} === authorization code control === Request body: 'grant_type=authorization_code' HTTP/1.1 400 Bad Request content-type: application/json content-length: 111 vary: Accept-Encoding, Origin access-control-allow-credentials: true cache-control: no-store pragma: no-cache Date: Fri, 13 Nov 2026 02:36:20 GMT Connection: keep-alive Keep-Alive: timeout=95 {"error":"invalid_request","error_description":"code, redirect_uri, client_id and code_verifier are required."}