Auth

OAuth redirect target (provider calls this)

Verifies state, exchanges the code, upserts the account, starts a session, and 302-redirects to the app with the session token in the URL fragment.

get/v1/auth/{provider}/callback

Request

  • Base URL: https://api.stackdata.io
  • URL: https://api.stackdata.io/v1/auth/{provider}/callback
  • Auth: one of:
    • none
    • API key in header X-API-Key

Path parameters

provider'google' | 'github' required

Query parameters

codestring
statestring

Changes

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