Download OpenAPI specification:
Authentication Service
{- "authorization_endpoint": "string",
- "claims_supported": [
- "string"
], - "end_session_endpoint": "string",
- "id_token_signing_alg_values_supported": [
- "string"
], - "issuer": "string",
- "jwks_uri": "string",
- "registration_endpoint": "string",
- "response_types_supported": [
- "string"
], - "scopes_supported": [
- "string"
], - "subject_types_supported": [
- "string"
], - "token_endpoint": "string",
- "token_endpoint_auth_methods_supported": [
- "string"
], - "userinfo_endpoint": "string"
}Validates and retrieves metadata about a token
Token introspection payload
| token | string |
{- "token": "string"
}{- "active": true,
- "aud": "string",
- "client_id": "string",
- "error": "string",
- "error_description": "string",
- "exp": 0,
- "iat": 0,
- "jti": "string",
- "nbf": 0,
- "scope": "string",
- "sub": "string",
- "token_type": "string",
- "username": "string"
}Authenticates a user and generates an authorization code
| username required | string Username |
| password required | string Password |
| redirect required | string Redirect URI |
| state required | string State |
"string"[- {
- "client_id": "string",
- "client_name": "string",
- "client_type": "string",
- "grant_types": [
- "string"
], - "is_active": true,
- "redirect_uris": [
- "string"
], - "response_types": [
- "string"
], - "scopes": "string",
- "token_endpoint_auth_method": "string"
}
]Registers a new OAuth2/OIDC client (admin only)
Client registration request
| client_name | string |
| client_type | string |
| grant_types | Array of strings |
| redirect_uris | Array of strings |
| response_types | Array of strings |
| scopes | string |
| token_endpoint_auth_method | string |
{- "client_name": "string",
- "client_type": "string",
- "grant_types": [
- "string"
], - "redirect_uris": [
- "string"
], - "response_types": [
- "string"
], - "scopes": "string",
- "token_endpoint_auth_method": "string"
}{- "client_id": "string",
- "client_name": "string",
- "client_secret": "string",
- "client_secret_expires_at": 0,
- "client_type": "string",
- "grant_types": [
- "string"
], - "redirect_uris": [
- "string"
], - "response_types": [
- "string"
], - "scopes": "string",
- "token_endpoint_auth_method": "string"
}Retrieves information about a registered client (admin only)
| client_id required | string Client ID |
{- "client_id": "string",
- "client_name": "string",
- "client_type": "string",
- "grant_types": [
- "string"
], - "is_active": true,
- "redirect_uris": [
- "string"
], - "response_types": [
- "string"
], - "scopes": "string",
- "token_endpoint_auth_method": "string"
}Updates a registered client (admin only)
| client_id required | string Client ID |
Client update request
| client_name | string |
| grant_types | Array of strings |
| is_active | boolean |
| redirect_uris | Array of strings |
| response_types | Array of strings |
| scopes | string |
| token_endpoint_auth_method | string |
{- "client_name": "string",
- "grant_types": [
- "string"
], - "is_active": true,
- "redirect_uris": [
- "string"
], - "response_types": [
- "string"
], - "scopes": "string",
- "token_endpoint_auth_method": "string"
}{- "client_id": "string",
- "client_name": "string",
- "client_type": "string",
- "grant_types": [
- "string"
], - "is_active": true,
- "redirect_uris": [
- "string"
], - "response_types": [
- "string"
], - "scopes": "string",
- "token_endpoint_auth_method": "string"
}Exchanges authorization code or credentials for tokens
| grant_type required | string Grant type |
| code | string Authorization code |
| redirect_uri | string Redirect URI |
| client_id | string Client ID |
| username | string Username |
| password | string Password |
{- "access_token": "string",
- "expires_in": 0,
- "refresh_token": "string",
- "scope": "string",
- "token_type": "string"
}Registers a new user in the system
User creation payload
string | |
| password | string |
| role | string optional role assignment |
| username | string |
{- "email": "string",
- "password": "string",
- "role": "string",
- "username": "string"
}{- "createdAt": "string",
- "email": "string",
- "id": "string",
- "role": "string",
- "username": "string"
}