connectors

Oauth Callback

Google OAuth redirect handler. No auth dependency: identity comes from the HMAC-signed state AND the HttpOnly flow cookie this browser was given at oauth/start. Verifies both, redeems the code with the cookie's PKCE verifier, enforces the granted scopes cover the requested scopes, re-checks the member is still an admin, encrypts + stores the tokens tenant-scoped, and redirects back to the connectors page with a result.

get/api/connectors/oauth/callback

Request

  • Base URL: https://api.advisorppc.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.advisorppc.com/api/connectors/oauth/callback
  • Auth: HTTP bearer

Query parameters

codestring nullable
statestring nullable
errorstring nullable

Headers

X-Tenant-Idinteger nullable

Response

Successful Response

unknown required

Changes

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