Skip to content

Add OAuth proxy message types#10

Open
mlund01 wants to merge 1 commit into
mainfrom
oauth-proxy-messages
Open

Add OAuth proxy message types#10
mlund01 wants to merge 1 commit into
mainfrom
oauth-proxy-messages

Conversation

@mlund01
Copy link
Copy Markdown
Owner

@mlund01 mlund01 commented Apr 18, 2026

Summary

  • Adds OAuthRegisterFlow / OAuthRegisterFlowAck — squadron reserves a flow keyed by the OAuth state value before the user's browser hits the IdP.
  • Adds OAuthCallbackDelivery / OAuthCallbackAck — commander pushes the IdP callback (code/state) back to the originating squadron over the WS bridge.
  • Adds StartMCPLogin / StartMCPLoginAck — commander asks squadron to kick off an OAuth login for a named MCP server from the UI; the ack carries the authorization URL for the browser to open.

Part of the OAuth proxy feature that lets command center terminate TLS for MCP OAuth callbacks. Paired with:

Merge order

  1. Merge this PR
  2. Cut a new squadron-wire tag (v0.0.41)
  3. Update squadron + command-center PRs to drop the TEMP local replace and bump to the new tag

New envelope types and payloads used by command center to proxy MCP OAuth
flows on behalf of connected squadrons:

- OAuthRegisterFlow / OAuthRegisterFlowAck — squadron reserves a flow keyed
  by the OAuth state value before launching the user's browser.
- OAuthCallbackDelivery / OAuthCallbackAck — commander pushes the IdP
  callback (code/state) back to the originating squadron.
- StartMCPLogin / StartMCPLoginAck — commander asks squadron to kick off
  an OAuth login for a named MCP server from the UI; the ack carries the
  authorization URL for the browser to open.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant