I’m setting up a MCP server at ChatGPT
it works flawlessly on Claude, OAuth and tool calls.
So far, it has worked perfectly in ChatGPT playground, however, on ChatGPT itself, it doesn’t work
Here is the error checking the console:
{
"detail": "MCP server myurl does not support client_secret_post token endpoint auth method"
}
However, this is my /.well-known/oauth-authorization-server implementation:
@auth_router.api_route("/.well-known/oauth-authorization-server", methods=["GET"])
async def well_known():
return JSONResponse({
"issuer": BASE_URL,
"authorization_endpoint": f"{BASE_URL}/authorize",
"token_endpoint": f"{BASE_URL}/token",
"registration_endpoint": f"{BASE_URL}/register",
"response_types_supported": ["code"],
"grant_types_supported": ["authorization_code"],
"code_challenge_methods_supported": ["S256"],
"token_endpoint_auth_methods_supported": ["client_secret_basic", "client_secret_post"],
})
Has anyone faced this issue?