currently we are trying to connect a Supabase MCP with Retool agent but apparently unnecessary parameters(such as access type and audience and prompt) are getting passed along with the authentication strings therefore Supabase has been rejecting the auth requests. Was anyone able to resolve through this?
Thanks for flagging this - it looks like whether configuring OAuth in a standard REST API or MCP in Retool we always send those parameters even if they are empty. For a workaround now, to be able to at least test the integration, you will have to manually remove them from the url when you come across that error.
I have flagged this with our product team who will take a look at this.
Having investigated this in more depth we don’t believe Supabase complies with the OAuth specification here. It should not be erroring when sending those parameters, but be treating them as unknown if they don’t currently support them.
This would be one to raise with them to ensure they have their MCP OAuth configured correctly!
Hey @Luis_Oliva_Fontecha - welcome to the community and thanks for reaching out. To Ollie's point, we are unlikely to modify the functionality of our core OAuth flow. That said, we've received a few different requests to support custom authentication flows for MCP resources, which would provide a decent workaround. I'll keep everybody in the loop as that conversation continues internally!