❌Entity Auth Token (Deprecated)
Generate Entity Auth Token or client_api_key
Environment
Environment
Token Service (OLD) Base URL
Saafe Hackathon
https://tokens.sandbox.sahamati.org.in
Saafe Sandbox
https://uattokens.sahamati.org.in
API Request
POST
{{Token Service Base URL}}/auth/realms/sahamati/protocol/openid-connect/token
Request
Authorization Basic Auth
Username
client id - Obtained in Create FIU Entity
Password
client secret - Obtained in Create FIU Entity
Body
Key
Value
grant_type
client_credentials
scope
openid
Response
{
"access_token": "string",
"expires_in": 86400,
"refresh_expires_in": 0,
"token_type": "Bearer",
"id_token": "string",
"not-before-policy": 0,
"scope": "openid email microprofile-jwt profile address phone offline_access"
}
Note: access_token in the above response needs to be used as client_api_key in the header of the API calls made to the AA
Last updated
Was this helpful?