Saafe AA - Docs
HomeSandbox
  • Overview
  • Supported FIPs on Saafe
  • Become an FIU
  • Environment
  • Central Registry
    • Overview
    • Create FIU Entity
    • IAM User Endpoints
      • Generate IAM User Token
      • Secret Management
        • Entity Secret Read
        • Entity Secret Reset
    • Entity Auth Token
    • ❌Entity Auth Token (Deprecated)
    • Central Registry APIs
      • GET AA List
      • GET FIP List
      • GET FIU List
    • Postman Collection
  • FIU Module
    • Introduction
    • AA API v2.0.0
    • FIU API v2.0.0
    • JWS Signature
      • Create JSON Web Key (JWK)
      • Create JWS
      • Verify JWS
    • End-to-end Encryption
  • FIP Module
    • Overview
  • AA Client
    • Web Redirection
Powered by GitBook
On this page
  • Environment
  • API Request

Was this helpful?

  1. Central Registry

Entity Auth Token

Environment

Environment
IAM 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

Name
Value

Content-Type

application/x-www-form-urlencoded

Body

Key
Value
Description

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"
}
PreviousEntity Secret ResetNextEntity Auth Token (Deprecated)

Last updated 7 months ago

Was this helpful?