v1

latestOpenAPI 3.1.0Apache 2.02026-07-264001921002.3 KB
OAuth

OAuth callback endpoint

Handles the OAuth provider callback after user authorization. This endpoint processes the authorization code and exchanges it for an access token. On success, displays an HTML page that closes the authorization window.

get/api/oauth/callback

Query parameters

statestring required

State parameter for OAuth security (CSRF protection)

codestring

Authorization code from the OAuth provider. Present on success only; code and error are mutually exclusive — one of them is always set.

errorstring

Error code if authorization failed. Mutually exclusive with code.

error_descriptionstring

Error description if authorization failed

Response

OAuth authorization successful. Returns HTML page that closes the authorization window.