auth

Slack Callback

Exchange the code, issue the session, and hand tokens to the originating SPA.

One callback path serves three purposes, dispatched by the VERIFIED contents of the signed state. Sharing the path is deliberate: a second callback would need a second redirect_uri, which is a change to the live Slack app.

The connect-redemption purpose is checked first and is a strictly separate branch — it never reaches service.complete and therefore never reaches AuthService.login_with_identity, which creates a User and activates a pending membership. Proving who asked for a connect link must do neither. The self-link branch is next and likewise never reaches login.

get/v1/auth/slack/callback

Request

  • Base URL: https://api.patricia.app (the document declares no server; this is the origin it was published from)
  • URL: https://api.patricia.app/v1/auth/slack/callback
  • Auth: none declared

Query parameters

codestring nullable
statestring nullable
errorstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.