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 (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

Password

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

PreviousEntity Auth TokenNextCentral Registry APIs

Last updated 7 months ago

Was this helpful?

client id - Obtained in

client secret - Obtained in

❌
Create FIU Entity
Create FIU Entity