Sandbox environment

Sandbox

Test your integration using the sandbox environment. No real identity data is used — all personas are synthetic.

Sandbox credentials

Use these credentials to test the authorization flow. These are shared credentials for the public sandbox — register to get your own.

Issuer URL
https://sandbox.exchange.identityexchange.in
client_id
sandbox-demo-client
Discovery URL
https://sandbox.exchange.identityexchange.in/.well-known/openid-configuration
Environment
Sandbox (no real identity)

Test personas

Use these test user credentials in the sandbox authorize flow. Select a persona by passing login_hint=<sub> in the authorization request.

NameAgeDescriptionVerified claimsSub
Alice25Adult user with verified name and Aadhaar link
name_verifiedage_over_18age_over_21aadhaar_linked
sandbox:alice-01
Bob13Minor — age verification will fail for 18+ and 21+ claims
name_verifiedage_over_18: falseage_over_21: falseaadhaar_linked: false
sandbox:bob-13
Carol34Adult user with verified name, Aadhaar, and verified phone
name_verifiedage_over_18age_over_21aadhaar_linked
sandbox:carol-34

Download API collection

Pre-built flows for Postman and Bruno covering PAR, token exchange, DPoP setup, and userinfo.

Run a test flow

Launch the sandbox OIDC authorize flow in a new tab. Use Alice's persona to see a successful age verification.

Note: uses a static PKCE challenge — do not use in production.

Run test flow →

Sandbox limits

  • Rate limited to 100 requests per hour per client_id.
  • Tokens expire after 1 hour; no refresh tokens in sandbox.
  • No real DigiLocker / Aadhaar authentication — personas are synthetic.
  • Sandbox tokens are not valid in the production environment.