-
Notifications
You must be signed in to change notification settings - Fork 4.6k
[BUG] OAUTH2 Warp does not send client_id to MCP server OAUTH2 /token endpoint #11171
Copy link
Copy link
Open
Labels
area:authAuthentication, login, SSO, session management, and account security.Authentication, login, SSO, session management, and account security.area:mcpMCP server integrations, tool connections, and resource providers.MCP server integrations, tool connections, and resource providers.bugSomething isn't working.Something isn't working.os:linuxLinux-specific behavior, regressions, or requests.Linux-specific behavior, regressions, or requests.repro:highThe report includes enough evidence that the issue appears highly reproducible.The report includes enough evidence that the issue appears highly reproducible.triagedIssue has received an initial automated triage pass.Issue has received an initial automated triage pass.
Metadata
Metadata
Assignees
Labels
area:authAuthentication, login, SSO, session management, and account security.Authentication, login, SSO, session management, and account security.area:mcpMCP server integrations, tool connections, and resource providers.MCP server integrations, tool connections, and resource providers.bugSomething isn't working.Something isn't working.os:linuxLinux-specific behavior, regressions, or requests.Linux-specific behavior, regressions, or requests.repro:highThe report includes enough evidence that the issue appears highly reproducible.The report includes enough evidence that the issue appears highly reproducible.triagedIssue has received an initial automated triage pass.Issue has received an initial automated triage pass.
Pre-submit Checks
Describe the bug
method:POST
request headers:
accept:application/json
content-type:application/x-www-form-urlencoded
authorization:Basic czZCaGRSa3F0MzpjZjEzNmRjM2MxZmM5M2YzMTE4NWU1ODg1ODA1ZA==
accept-encoding:gzip,br
host:localhost
content-length:153
URL: /api/oauth/token
Query:
Query Parameters:
contents:
grant_type=authorization_code&code=g0ZGZmNjVmOWI&code_verifier=FBQUrivV9MqXyBbqsJHF4EDfMVFHu8fPciVZrD5QWyg&redirect_uri=warp%3A%2F%2Fmcp%2Foauth2callback
Missing client_id.
To reproduce
Connect to locahost streaming http(s) MCP server
Expected behavior
send the client_id obtained from the OAUTH2 server to the token endpoint
Screenshots, videos, and logs
2026-05-18 10:20:16.706 | [error] MCP: Failed to connect to server: Transport creation error: OAuth token exchange failed: Server returned error response: unauthorized_client: Token request rejected. Check the client id in inspector, it must be s6BhdRkqt3, but got client_id: (see http://localhost/api/oauth/token)
Operating system (OS)
Linux
Operating system and version
25.10 kernel 7.0.7
Shell Version
No response
Current Warp version
v0.2026.05.13.09.15.stable_03
Regression
No, this bug or issue has existed throughout my experience using Warp
Recent working Warp date
No response
Additional context
No response
Does this block you from using Warp daily?
No
Is this an issue only in Warp?
Yes, I confirmed that this only happens in Warp, not other terminals.
Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e
None