mcp-oauth

Oauth Callback

Handle the OAuth authorization-server redirect back to thinqOS.

The state parameter is the authentication primitive - no session auth is required here. Flow:

  1. If error param present → redirect to error page.
  2. Look up IdentityMcpOAuthState by state → 404 page on miss.
  3. Check expiry → redirect to error page on expired.
  4. Exchange the code for tokens.
  5. Encrypt tokens via FernetEncryptor → INLINE: refs.
  6. Persist token refs + expiry to the registration.
  7. Delete the state row.
  8. Redirect to success page.
get/api/mcp/oauth/callback

Request

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

Query parameters

codestring nullable
statestring nullable
errorstring nullable
issstring nullable

Response

Successful Response

unknown required

Changes

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