Oauth Twitch Callback

Twitch redirects here with code+state. Exchange code for tokens, fetch the Twitch user profile, save (replacing any existing active connection for this Sleipnir user), redirect to account page.

Shared by the chat-connect and destination-connect flows: a dest grant is recognised by its state matching the ISOLATED dest state store. If so, we handle the destination and return; otherwise we fall through to the chat logic below, unchanged.

get/api/oauth/twitch/callback

Request

  • Base URL: https://sleipnir.tv (the document declares no server; this is the origin it was published from)
  • URL: https://sleipnir.tv/api/oauth/twitch/callback
  • Auth: none declared

Query parameters

codestring nullable
statestring nullable
errorstring nullable

Cookies

__Host-connect_noncestring nullable
relay_sessionstring nullable

Response

Successful Response

unknown required

Changes

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