auth

Google Callback

Handle the redirect back from Google.

On success: exchanges the code, upserts the user, issues a session cookie, and 302s to the portal dashboard. On any failure: 302s to /login?error=... so the user sees a clean error in the portal rather than a JSON blob.

get/v1/auth/google/callback

Request

  • Base URL: https://api.ctindex.io
  • URL: https://api.ctindex.io/v1/auth/google/callback
  • Auth: none declared

Query parameters

codestring nullable
statestring nullable
errorstring nullable

Cookies

ctix_oauth_statestring nullable
ctix_oauth_attrstring nullable

Response

Successful Response

unknown required

Changes

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