I am configuring Open AI to talk to my MCP server using the Oauth service from a third party provider. I add the Client ID and Secret and they are received correctly. However my SSO service complains that the redirect URI is not valid since it is not specified anywhere in the docs.. I have looked everywhere and i cannot find it anywhere
1 Answer
Turns out the connector page in ChatGPT makes a plain HTTP request to the MCP server's URL. Inspecting the network tab i found the request and in the payload was the redirect URI
redirect_uri https://chatgpt.com/connector_platform_oauth_redirect Full payload
response_type code client_id FXXXXXXX redirect_uri https://chatgpt.com/connector_platform_oauth_redirect state oauth__XXXXX scope offline_access ApplicationAccess_XXXX resource https:XXXXX/mcp