Slack OAuth

Handle Slack OAuth callback

Slack redirect target. Exchanges the authorization code server-side, parks the sealed workspace bundle under the state ticket, and returns an HTML page that deep-links back to the desktop.

get/oauth/slack/callback

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /oauth/slack/callback
  • Auth: none declared

Query parameters

statestring required

State ticket.

Example:state_abc123

Opaque user-bound state ticket minted by /v1/slack-oauth/start.

codestring

Authorization code.

Example:1234.5678.abcd

Authorization code returned by Slack.

errorstring

OAuth error.

Example:access_denied

OAuth error returned by Slack when the user cancels the install.

Response

HTML page that redirects to solomon-ai://oauth/slack/done.

Changes

No recorded changes to this operation across all 50 revisions of this API.