Entity Auth Token

Environment

EnvironmentIAM Base URL

Saafe Hackathon

https://api.sandbox.sahamati.org.in/iam

Saafe Sandbox

https://api.uat.sahamati.org.in/iam

API Request

POST {{IAM Base URL}}/v1/entity/token/generate

User Token is used to access the IAM user APIs

Headers

NameValue

Content-Type

application/x-www-form-urlencoded

Body

KeyValueDescription

id

string

FIU Entity ID

secret

string

FIU Entity Secret

Response

{
    "ver": "1.0.0",
    "timestamp": "2024-10-10T11:11:45.096203206Z",
    "txnId": "6dc871b0-cc81-4437-9286-28e317f0afaa",
    "accessToken": "JWT Token",
    "expiresIn": 86400,
    "refreshExpiresIn": 0,
    "tokenType": "Bearer",
    "notBeforePolicy": 0,
    "scope": "email microprofile-jwt profile address phone offline_access"
}

Last updated