Complete state-bound provider authorization
Browser navigation only. Requires the same authenticated manager and one-time authorization state. The code is encrypted for worker exchange.
GET /api/v1/git/callback/{provider}Operation: completeGitAuthorization · Download OpenAPI
Access
Section titled “Access”This operation does not use the panel session as its authentication mechanism. Follow the operation-specific checks described above.
session
{ "type": "apiKey", "in": "cookie", "name": "__Host-localisync-session"}Parameters
Section titled “Parameters”| Name | Location | Required | Description |
|---|---|---|---|
provider |
path | Yes | See constraints below. |
state |
query | Yes | See constraints below. |
code |
query | Yes | See constraints below. |
provider
Section titled “provider”{ "type": "string", "enum": [ "github", "gitlab", "bitbucket" ]}{ "type": "string"}{ "type": "string"}Request body
Section titled “Request body”No request body.
Responses
Section titled “Responses”Return to workspace Git connections.
Response headers:
{ "Location": { "schema": { "type": "string", "format": "uri" } }}Invalid authorization state.
Sign in again.
Expired or already used authorization.
Vault unavailable.
Related guidance
Section titled “Related guidance”Your privacy, your choice
Choose whether we remember appearance preferences and use Google Analytics on Localisync and its documentation. Optional storage stays off until you accept.
Read our cookie policy