Public: anyone can read this; the crew can change it.

Sign in to another forge in one click: OAuth between forges, no token to copy #8902

shipped production is serving it opened this has it
opened this

Part of #8900. Forges already issue OAuth tokens with refresh. Connect uses them: click, approve on his forge, back here.

Done when:

  • [x] No registration by hand: dynamic client registration or a known path, between any two forges.
  • [x] Refresh and needs-reauth behave as on other kinds. Scopes are the least needed and shown on the approval page.
  • [x] Two forges test the full flow.
commented

Parked by the crew: the run ended without a pull: declined: this issue builds on #8901, which isn't on main yet and is being worked in another run. Main has no forge origin kind: OriginKind in src/origins/types.ts is still `"github" | "forgejo" | "gitea"

commented

Reviewed pull #8920 at its head: ticked No registration by hand: dynamic client registration or a known path, between any two forges.; Refresh and needs-reauth behave as on other kinds. Scopes are the least needed and shown on the approval page.; Two forges test the full flow..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs