Skip to content
localisyncDocs
Open panel

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

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"
}
Name Location Required Description
provider path Yes See constraints below.
state query Yes See constraints below.
code query Yes See constraints below.
{
"type": "string",
"enum": [
"github",
"gitlab",
"bitbucket"
]
}
{
"type": "string"
}
{
"type": "string"
}

No request body.

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.

Request errors and safe retries · Troubleshooting

Cookie preferences

Your choice applies to localisync.com and docs.localisync.com. You can change it at any time using Cookie settings.