OAuth Playground

Build and preview a real authorization request against NIA, and see the whole flow step by step. Everything runs in your browser.

Authorization URL

Fill in the form, then Generate the URL

OAuth flow

  1. 1

    Authorization Request

    Your app redirects the user to /oauth/authorize

  2. 2

    User Login

    The user authenticates and consents on NIA

  3. 3

    Authorization Code

    NIA redirects back with a one-time ?code=

  4. 4

    Token Exchange

    Your server posts the code to /oauth/token

  5. 5

    Access Token

    NIA returns access_token (+ id_token, refresh)

  6. 6

    UserInfo

    Call /oauth/userinfo with the Bearer token

How to use this

Pick a framework above (or arrive via a guide's “Try OAuth Flow” button) to pre-fill defaults. Generate the URL, then open it to run a real authorization request.