Skip to main content

Testing ID Everywhere OIDC with Postman

Testing with Postman shows whether ID Everywhere sign-in works on its own. It's useful before configuring an application, or when you're not sure whether a problem is in the application or in ID Everywhere.

1. Register a test application

  1. Go to Sign-In › OIDC Apps and click + Add OIDC Application.
  2. Name it "Postman Test" and choose Web / Server Application (Confidential).
  3. Add the redirect URL https://oauth.pstmn.io/v1/callback.
  4. Create it, and copy the Client ID and Client Secret.

2. Get a token in Postman

  1. Create a new request and open the Authorization tab. Set Type to OAuth 2.0.
  2. Under Configure New Token, enter:
    Grant type Authorization Code (With PKCE)
    Callback URL https://oauth.pstmn.io/v1/callback (tick "Authorize using browser")
    Auth URL https://app.ideverywhere.com/oauth2/authorize
    Access Token URL https://app.ideverywhere.com/oauth2/token
    Client ID / Client Secret From step 1
    Code Challenge Method SHA-256
    Scope openid profile email
    State Any random text
    Client Authentication Send as Basic Auth header
  3. Click Get New Access Token. Your browser opens the ID Everywhere sign-in page. Sign in with a test user, including two-factor.
  4. Postman shows the tokens. Click Use Token.

Send as Basic Auth header matters: ID Everywhere expects the client secret in the Authorization header, not in the request body.

3. Call user info

With the token in use, send a GET to https://app.ideverywhere.com/oauth2/userinfo. The response lists the person's claims, such as sub, name and email.

4. Look at the ID token

Copy the id_token value and paste it into a JWT viewer you trust, such as jwt.io, to see its claims. Use test accounts only, because tokens contain personal details. The token expires after about 5 minutes.

What the results tell you

  • Postman works but your app doesn't: the problem is in the app's settings. Compare its redirect URL, client type and secret method with the above.
  • Postman fails too: check the error against Troubleshooting OIDC Application Sign-In.

Delete the Postman Test application when you're finished.