API ReferenceAuthentication API
Handle Keycloak OAuth2 callback
Handles the OAuth2 callback from Keycloak, exchanges authorization code for JWT tokens
Query Parameters
codestring
Authorization code from Keycloak
statestring
State parameter for CSRF protection
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://loading/auth/callback?code=string&state=string"{
"access_token": "string",
"expires_in": 0,
"refresh_token": "string",
"token_type": "string"
}{
"code": "string",
"error": "string",
"message": "string",
"request_id": "string"
}{
"code": "string",
"error": "string",
"message": "string",
"request_id": "string"
}{
"code": "string",
"error": "string",
"message": "string",
"request_id": "string"
}