Source Plane

The provider’s return leg (public)

Where a provider sends the browser after consent — the app’s registered redirect URI. Public by construction: the HMAC-signed state authenticates the request. Exchanges the code, keeps the grant, and answers a small HTML page that hands the result to the admin window that opened it and closes. No token, code or state appears in the page. Connected accounts (docs/source-plane.md § Connected accounts): the brain as an outbound OAuth 2.1 client for the cloud connectors (gdrive, onedrive, dropbox). Answers a bare 404 until SOURCE_PLANE_ENABLED=1 and SOURCE_OAUTH_CLIENT=1; needs SOURCE_CREDENTIAL_ENCRYPTION_KEY — tokens are never stored in the clear.

get/v1/source-connections/oauth/callback

Request

  • Base URL: https://brain.inite.ai
  • URL: https://brain.inite.ai/v1/source-connections/oauth/callback
  • Auth: none required

Query parameters

statestring

The signed state the start call issued.

codestring

The authorization code.

errorstring

The provider’s error, when consent failed.

error_descriptionstring

The provider’s error text.

Response

The result page.

Changes

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