Developer Tools

Interactive utilities for building and debugging your NIA integration. Everything runs in your browser — tokens you paste are decoded locally and never sent anywhere.

OAuth Playground

Walk the full authorization-code + PKCE flow

A guided authorization-code + PKCE walk-through. It builds each request for you — run the token exchange from your backend (browser calls need your origin on the CORS allowlist).

1 · Configure

3 · Paste the redirect result

5 · Paste the token response

2 · Authorization URL
https://dev-api.niaauth.com/oauth/authorize?response_type=code&client_id=YOUR_CLIENT_ID&redirect_uri=https%3A%2F%2Fapp.example.com%2Fauth%2Fcallback&scope=openid+email+profile+offline_access&state=
Open authorization
4 · Token exchange request
curl -X POST https://dev-api.niaauth.com/oauth/token \ -d grant_type=authorization_code \ -d code=AUTH_CODE \ -d redirect_uri=https://app.example.com/auth/callback \ -d client_id=YOUR_CLIENT_ID \ -d client_secret=YOUR_CLIENT_SECRET \ -d code_verifier=CODE_VERIFIER