Skip to Content
Docs

POST /api/connectors/auth/complete

POST
/api/connectors/auth/complete

Finish a connector sign-in: the app's callback page posts the provider's code and state.

Not available to personal access tokens; call it from a signed-in session.

Authorization

bearer
headerAuthorizationBearer <token>

A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).

Request Body

application/json
  1. body
code*string

The provider's authorization code

state*string

The state the provider echoed

Response Body

Success

Example Request
curl -X POST 'http://localhost:7091/api/connectors/auth/complete' \  -H 'Content-Type: application/json' \  -d '{  "code": "string",  "state": "string"}'
Example Response200
Empty