App using MCP server with OAuth authentication fails to start authentication flow

In ChatGPT developer mode I’m using the New App beta feature. I’m specifying the MCP url and select the OAuth option for authentication. I have the authentication flow set up on our servers, such as sending a 401 error with an WWW-Authenticate header. Our logs show that the .well-known end points relevant for MCP authentication are called, but the flow never gets to the registration part.

When I inspect the browser running the ChatGPT client I see a 404 error on this url:

That seems to indicate a problem in chatgpt, is that right? Is this a known problem?