Sign-in: return to a Fabric MCP authorization after sign-in, including Google and GitHub
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 68/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
Read useCloudSignIn.ts, CheckOAuth.tsx, routes.ts, GoogleAuthenticationButton.tsx, and GitHubAuthenticationButton.tsx to trace how redirects are validated and passed through sign-in. Start by checking the existing in-app redirect flow, then follow the Google and GitHub callback path. Done when the allowlisted MCP authorization URL survives both sign-in methods and an already signed-in user continues to the target.
索引モデルが issue の本文から書いたものです。
説明
Why
The Fabric MCP connector (#2098) sends signed-out users to /#/sign-in to sign in, and they then need to come back to /oauth/mcp/authorize?… on the same origin. Today:
redirectis only ever an in-app hash path passed tonavigate({to}), checked byredirect.startsWith('/')inuseCloudSignIn.ts,CheckOAuth.tsxandroutes.ts.- The Google and GitHub buttons always send
/#/check-oauthwith noredirect(GoogleAuthenticationButton.tsx,GitHubAuthenticationButton.tsx), so an OAuth sign-in loses the target even for in-app paths.
Proposal
- Accept a
redirectthat matches^/oauth/mcp/authorize(\?|$)exactly, and follow it with a full-pagewindow.location.assign. Allowlist that prefix only, with no other server paths and no//. - Carry
redirectthrough the Google and GitHub buttons into/#/check-oauth. That also fixes the in-app case. - Already signed in at
/#/sign-in?redirect=…→ continue straight to the target, as the in-app case already does.
Until this lands, the connector's fallback is to have the user click Connect again in Claude after signing in.
🤖 Generated by Claude Code (Claude Opus 5.5); posted via @dawsontoth.
Part of HarperFast/studio#2098, under the epic HarperFast/harper#2102 (MCP server & OpenAPI schema generation).
- 主要言語
- TypeScript
- スター
- 5
- フォーク
- 4
- 平均マージ
- 2日 13時間
- マージ済み PR(30日)
- 60
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
HarperFast/studio のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
HarperFast/studio#2111 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
HarperFast/studio#2109 ·
メンテナーはふだん 1 日以内に返信
-
rum
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
HarperFast/studio#2085 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
HarperFast/studio#2070 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
HarperFast/studio#2067 ·
メンテナーはふだん 1 日以内に返信
HarperFast/studio の issue をすべて見る
似ている issue
-
bot:ai-assisted component:platform-js status:untriaged
難易度 1/5 1時間未満 初心者へのやさしさ 74/100
midnightntwrk/platform-js#38 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
ranxianglei/billion-context#7068 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
mybigday/whisper.rn#348 ·
-
enhancement severity:low
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
Battle-Cattle/BCUK-Bot-4#1075 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
ilan-pinto/roaring-lions#1552 ·
メンテナーはふだん 1 日以内に返信