OAuth state mismatch when connecting to local MCP server via LibreChat #9150
Unanswered
mihmariusbogdan98
asked this question in
Troubleshooting
Replies: 1 comment 2 replies
-
add paypal:
type: "sse"
url: "https://mcp.paypal.com/sse"
# Add this
requiresOAuth: true |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I am trying to authenticate to a local MCP server from LibreChat using OAuth/Keycloak.
Current behavior: Logging in to LibreChat works correctly.
When trying to connect to the MCP server: The state sent to Keycloak is compared to the one generated during the LibreChat login, not the one for the MCP connection (that one is not saved).
If I log in with email and attempt a full OAuth flow to connect to MCP, the state is not stored at all.
Is this a known issue, or am I misconfiguring the OAuth flow for connecting LibreChat to MCP?
Beta Was this translation helpful? Give feedback.
All reactions