Skip to main content
GET
Connection OAuth redirect target

Query Parameters

code
string

The authorization code. Absent when the person declined.

state
string
required

The state from the authorization_url.

iss
string

The authorization server's issuer (RFC 9207), which Google sends. Passed on to the admin page, and checked when the connection is completed.

error
string

The OAuth error, such as access_denied, when the person declined.

Response

302

To Fluid admin. When the provider sent a code and a state, Location is {origin}/settings/bots?connect=finish&state={state}&code={code}, with &iss={iss} added when the provider sent one; the admin page then posts them to POST /bot-connections/oauth/complete. When the provider sent an error or no code it is {origin}/settings/bots?connect=error&reason=consent_declined, and with no state reason=invalid_state. Query keys are in alphabetical order. origin is SALES_CHANNEL_CONNECT_RETURN_ORIGIN, defaulting to https://admin.fluid.app. The body is empty.