API ReferenceAuthentication API

Initiate Keycloak OAuth2 login

Returns the Keycloak authorization URL for frontend to redirect users. Supports OAuth2 authorization code flow with PKCE.

GET
/auth/login

Query Parameters

redirect_url?string

URL to redirect after successful login

Response Body

application/json

application/json

curl -X GET "https://loading/auth/login"
{
  "authorization_url": "string",
  "state": "string"
}
{
  "code": "string",
  "error": "string",
  "message": "string",
  "request_id": "string"
}