Authentication and Authorization
string · requiredstring · requiredstringintegerstring
Operations related to user authentication and token management.
Generate access token
POST
https://ilm-dev.dha.go.ke/uat-middleware
/api/v1/tenants/token
This endpoint allows a user to obtain an access token by providing their credentials. It leverages the OpenID Connect and OAuth2 protocols to ensure secure authentication and authorization. The access token can then be used to access protected resources within the system.
Generate access token › Request Body
client_idThe client identifier
Example: test-client
client_secretThe client secret
Example: wZF47BUFRhTGoiLE7amWsxcdhe5778
Generate access token › Responses
Created
access_tokenexpires_intoken_type
