Problems with Mixed Authentication Flow

Hey guys! I am using the library MCP Nest to implement the MCP server to connect on ChatGPT Apps.

We were able to make it work if all the tools required authentication or if they are all available without it, but currently we are trying to implement a Mixed authentication where the user only has access to a few tools and has to authenticate in order to unlock others.

Currently the issue is that when we connect using Mixed it requires authentication right away, which in our view should not happen because the user should be able to use the tools that don’t require it.

We saw another post that mentions it, but the solution proposed does not work for us. We want to be able to have a Mixed OAuth flow where only a few tools are available and where GPT is able to handle when it should trigger the flow to authenticate, because that is not very clear for us at the moment.

If some of you have public examples on how to build an OAuth Flow with Mixed Authentication and would like to address here I would be thankful.

1 Like