integrations

Oauth Callback

Handle OAuth callback for the specified provider.

Validates the state parameter against the database to ensure it was issued by our server and hasn't expired. This prevents CSRF attacks.

get/integrations/callback

Request

  • Base URL
    https://platform.tracecat.com/api
  • Auth
    API key in cookie fastapiusersauth

Query parameters

codestring required

Authorization code from OAuth provider

statestring required

State parameter from authorization request

Response

Successful Response

statusstring

The status of the OAuth callback

provider_idstring required

The provider that the user connected to

redirect_urlstring required

The URL to redirect to after the OAuth callback

Changes

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