fix(credentials): bind OAuth reconnect drafts to exact flows
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 35/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Ruhig
- Tech-Stack
- typescript
- Bereich
- authentication, backend-api-design, security
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 29.8k
- Forks
- 3.9k
- Ø Merge
- 1 Std. 44 Min.
- Gemergte PRs (30 T.)
- 841
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus simstudioai/sim
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
simstudioai/sim#9831 ·
Maintainer antworten meist innerhalb von 1 Tag
-
v2 API rate limits self-hosted installs by IP even with billing disabledEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 75/100
simstudioai/sim#8452 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Railway template generates invalid ENCRYPTION_KEY (should be 64-char hex string)Evtl. wieder frei @sahooarnav2007-gif hat das vor 15 Tagen übernommen, und es ist kein Pull Request offen. Offenbug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
simstudioai/sim#6246 · 3 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
simstudioai/sim#1204 · 8 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 45/100
simstudioai/sim#9734 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in simstudioai/sim
Ähnliche Issues
-
Bug: Cloudflare Pages static _redirects identity rule causes RSC Flight to reload as HTMLEvtl. vergeben @Donvero hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Mantitup-Org/vista#210 ·
-
status: waiting for maintainer
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
mui/material-ui#49751 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
Maintainer antworten meist innerhalb von 2 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
diplodoc-platform/transform#1184 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
JonasKruckenberg/imagetools#973 ·
Maintainer antworten meist innerhalb von 1 Tag