Grok Bot 0.78.1: OAuth sign-in for private Tailscale MCP fails after metadata discovery, before authorization
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 38/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- authentication, networking
Hướng nghiên cứu
Start by tracing the custom MCP connector OAuth sign-in flow from the Connect action through metadata discovery to authorization URL creation and private tailnet routing. The report identifies successful metadata requests and no subsequent /register, /authorize, or /token requests; use these observations to locate the transition where the flow stops. Done means the supported flow reaches the authorization page and completes authentication, or reports a stage-specific error that identifies the failure.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
OAuth sign-in for a manually added, private Tailscale MCP server still fails in Grok Bot 0.78.1 stable. The server receives the initial unauthenticated MCP request and OAuth metadata discovery, but the authorization page never opens and the connector remains unauthenticated with zero tools.
This also occurred in 0.77.0. The latest reproduction below was performed on 2026-10-29 JST. The root cause is not established; this report requests investigation of the sign-in flow over the private-network connector route.
Environment
- Grok Bot: 0.78.1
- Build: 2026-10-28T02:34:00.517Z
- Release track: stable
- OS reported by the app: darwin
- Tailscale plugin: installed and shown as Connected
- Connector: manually added HTTP/Streamable HTTP MCP server at a private HTTPS
*.ts.net/mcpURL - Authentication: OAuth authorization code with S256 PKCE; server supports discovery and dynamic client registration
- Tailscale Funnel is disabled; the server is not publicly exposed.
Steps to reproduce
- Connect Grok Bot's Tailscale plugin to a tailnet containing a private HTTPS MCP server.
- Add that server as a custom HTTP MCP connector using its full
*.ts.nethostname and OAuth authentication. - In a chat, ask the Bot to start authentication for the existing connector's default account.
- Click Connect on the newly generated authentication card.
- Observe that sign-in fails before an authorization page opens.
The existing connector and account were retained for this retest. The settings page's Reconnect action was also tried; it returned to the same error state.
Expected behavior
Grok Bot opens the server's authorization page and, after explicit owner approval and PKCE code exchange, obtains tools and can call a harmless ping tool.
Actual behavior
The chat card shows a localized “authentication failed” message followed by:
Grok Bot reaches this server through your connected tailnet from your chats. It can't be checked from here.
No authorization page opens. The connector has zero tools, and tools/list and ping cannot be verified through Grok Bot.
Server-side observations from the 0.78.1 retest
The diagnostic baseline was recorded before the test. No separate diagnostic HTTP probes were sent by the test coordinator during this attempt. The following new entries appeared during the Bot's authentication-start sequence:
| Method | Path | Status |
|---|---|---|
| POST | /mcp |
401 |
| GET | /.well-known/oauth-protected-resource/mcp |
200 |
| GET | /.well-known/oauth-authorization-server |
200 |
After clicking the authentication card, there were no additional recorded /register, /authorize, or /token requests, and there were zero unexpired pending authorization requests.
These observations establish that metadata discovery reached the server during this attempt. They do not prove the absence of all traffic: diagnostics cover known endpoint paths, not arbitrary paths or TLS failures. Also, an existing client registration could be reused, so absence of a new /register request alone does not identify the failure.
Comparison tests and limits
- The OAuth flow passed an isolated test using the standard Python MCP SDK.
- On 2026-10-27, the official TypeScript MCP SDK completed discovery, dynamic registration, explicit owner approval, PKCE exchange, tools/list, and ping against the same HTTPS server endpoint. Test credentials were subsequently revoked.
- Those SDK tests do not exercise Grok Bot's Tailscale connector route and do not prove a product-side root cause.
- No authentication requirements or network exposure were relaxed for this retest. Existing clients, credentials, and monitoring configuration were left unchanged.
Triage request
Is OAuth sign-in for custom MCP servers over the connected tailnet supported through this flow? If so, please investigate the failure after successful metadata discovery and before the authorization page opens. A stage-specific error or request ID would help distinguish discovery, cached client registration, authorization URL creation, and private-network routing failures.
Related but distinct: #855 concerns the Tailscale plugin's missing Authenticate button. Here the Tailscale connection is already established; the failure is OAuth for a custom MCP server.
An in-app feedback report was previously submitted on 2026-10-27; no report number was displayed. This issue adds the 0.78.1 reproduction.
Real hostnames, tailnet/device identifiers, account details, credentials, authorization codes, tokens, state values, callback URLs, raw logs, and screenshots containing unrelated private content are intentionally omitted.
- Ngôn ngữ chính
- TypeScript
- Star
- 18.2k
- Fork
- 2k
- Merge trung bình
- 3 giờ 56 phút
- Pull request đã merge (30 ngày)
- 96
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của cursor/plugins
-
pstack: interrogate asks the user, which worker.md forbids for delegates that reach itCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
cursor/plugins#1272 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
poteto-mode: multi-phase-plan Merge placeholder still appends every PR to a base-branch stackCó thể đã có người làm @mangeshraut712 đã nhận 15 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
typescript-best-practices: schema example uses z.string().uuid(), deprecated in Zod 4Có thể đã có người làm @mangeshraut712 đã nhận 14 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
cursor/plugins#1165 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
statechart: relative-symlink launcher test fails on macOS because /var is a symlinkCó thể đã có người làm @lnuxe đã nhận 3 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
cursor/plugins#1164 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
pstack docs/harness/claude-code.md: transcript slug replaces every non-alphanumeric character, not only / and .Có thể đã có người làm @isTuhin đã nhận 9 ngày trước. Đang mở
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 82/100
cursor/plugins#1155 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của cursor/plugins
Issue tương tự
-
infra needs-triage
Độ khó 2/5 Dưới một giờ Mức phù hợp với người mới 82/100
LucasSantana-Dev/Lucky#3331 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
kOaDT/oss-oopssec-store#381 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
nocobase/nocobase#11669 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
iOS: Clear Context (/clear) and model picker fallback use negative agent check instead of isClaudeĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Area: API Bug Difficulty: Low Priority: Low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
DouglasNeuroInformatics/OpenDataCapture#1937 ·
Maintainer thường phản hồi trong vòng 1 ngày