Multiple better auth instances for MCP

Hey, want to check if this would make any sense or could cause problems. We're adding remote MCP support, so users will need to sign in with Notion and other providers to access their account via the MCP server. We don't want users to be able to sign in to the main app with Notion. This is purely for the MCP integration. So we were thinking to create a 2nd better auth instance just for this. Is Better Auth intended to be used like this, or will it cause problems?
2 Replies
Elie
ElieOP4w ago
Ah, I don't think this would work as the database integration is required and would become a mess
_GNR_
_GNR_2w ago
you can try OIDC Provider

Did you find this page helpful?