fix(credentials): bind OAuth reconnect drafts to exact flows
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- typescript
調査の方向性
Start by tracing the shared credential-draft lifecycle and the generic and custom OAuth callback entry points; no specific files are named in the issue. Use the listed concurrency, cross-provider, target-mismatch, environment-mismatch, success, replay, and expiry scenarios as the test plan. Done means callbacks process only the protected exact draft and reject mismatched or expired targets without changing unrelated flows.
索引モデルが issue の本文から書いたものです。
説明
Summary
OAuth reconnect drafts are selected by broad ambient context rather than one exact protected flow. Tighten the shared credential-draft lifecycle so concurrent and cross-provider OAuth flows cannot consume or mutate the wrong draft.
Required changes
- validate reconnect target credential type, provider, workspace, and provider-specific environment at draft creation
- return the draft ID and bind it into protected OAuth state
- process the exact draft row identified by that protected state during callback
- repeat type, provider, workspace, and environment checks before the final credential mutation
- preserve ordinary new-credential and legacy OAuth behavior where the same invariants hold
Tests
- concurrent OAuth tabs in one workspace
- concurrent OAuth flows across workspaces
- cross-provider reconnect attempts
- wrong credential type and wrong target credential
- provider-specific environment mismatch
- exact-flow success and replay/expired-draft rejection
Context
This is a platform-wide credential integrity change affecting generic OAuth and custom OAuth flows. It is intentionally separate from Dynamics 365 CRM PR #6714, which adds UI-level environment binding but must not absorb shared draft infrastructure changes.
- 主要言語
- TypeScript
- スター
- 29.8k
- フォーク
- 3.9k
- 平均マージ
- 1時間 44分
- マージ済み PR(30日)
- 841
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
simstudioai/sim のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
simstudioai/sim#9831 ·
メンテナーはふだん 1 日以内に返信
-
v2 API rate limits self-hosted installs by IP even with billing disabled対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
simstudioai/sim#8452 ·
メンテナーはふだん 1 日以内に返信
-
Railway template generates invalid ENCRYPTION_KEY (should be 64-char hex string)再び着手できるかも @sahooarnav2007-gif が 15 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
simstudioai/sim#6246 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
simstudioai/sim#1204 · コメント 8 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
simstudioai/sim#9734 ·
メンテナーはふだん 1 日以内に返信
simstudioai/sim の issue をすべて見る
似ている issue
-
Bug: Cloudflare Pages static _redirects identity rule causes RSC Flight to reload as HTML対応中かも @Donvero が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Mantitup-Org/vista#210 ·
-
status: waiting for maintainer
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
mui/material-ui#49751 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
diplodoc-platform/transform#1184 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
JonasKruckenberg/imagetools#973 ·
メンテナーはふだん 1 日以内に返信