OpenID Connect (OIDC)

Learn how ID Everywhere uses OpenID Connect (OIDC) to provide secure application authentication and single sign-on. Explore application types, authorization flows, PKCE, scopes, and integration troubleshooting.

Understanding Authentication Methods in ID Everywhere

ID Everywhere can sign people in to four kinds of things. They all use the same ID Everywhere account and password, but each works a little differently.

Method Used for Two-factor? Learn more
Web portal Signing in to app.ideverywhere.com to manage your account or organization. Yes, every sign-in. Two-factor authentication
Windows sign-in Signing in to and unlocking enrolled Windows PCs with the ID Everywhere tile. No. The PC checks the password with ID Everywhere and works offline within your limit. Adding Windows users
OpenID Connect (OIDC) Web, mobile and desktop applications that offer "Sign in with…" single sign-on. Yes. People sign in through the ID Everywhere sign-in page. Connecting an app with OIDC
LDAP Older systems and devices that check a username and password directly, such as mail servers, VPNs and printers. No; LDAP can't ask for a code. Enabling LDAP

Which should I use for an application?

Use OIDC whenever the application supports it. It's more secure:

Use LDAP only for systems that don't support OIDC, OpenID or "OAuth 2.0 / OpenID Connect" single sign-on.

One switch for everything

Disabling a person under Users stops all four methods. The only exception is offline Windows sign-in on a PC that can't reach ID Everywhere. See How to Disable a User.

Choosing the Right OIDC Application Type

When you add an OIDC application, you choose its Client Type. The right choice depends on whether the application can keep a secret.

Client Type Choose it for How it proves who it is
Web / Server Application (Confidential) Applications with a server behind them: most web apps, SaaS products, WordPress and other CMS plugins, server-side frameworks. A client secret, kept on the server and sent with HTTP Basic authentication when it collects tokens.
Public Application (PKCE) Apps that run entirely on someone's device: mobile apps, desktop apps, and single-page browser apps with no server of their own. PKCE: a one-time proof created for each sign-in, using SHA-256 (S256). There's no secret, because anything inside the app could be extracted.

Quick test

What both types share

Never put a confidential client secret in a mobile app, desktop app or browser JavaScript. If an app needs to run on devices, register it as Public.

Connecting an Application Using OIDC

Connect an application to ID Everywhere with OpenID Connect so people sign in with their ID Everywhere account and two-factor authentication.

Before you start

1. Register the application in ID Everywhere

  1. Go to Sign-In › OIDC Apps and click + Add OIDC Application.
  2. Enter an Application Name people will recognize. It's shown on sign-in screens.
  3. Choose the Client Type.
  4. Paste the app's callback URL into Authorized Redirect / Callback URLs, exactly as the app shows it. Add one per line if the app has more than one, for example test and live.
  5. Choose the scopes the app may request. openid is always on; profile and email are ticked by default. Tick groups only if the app needs it.
  6. Click Create Application.
  7. Copy the Client ID. For Confidential apps, also copy the Client Secret now. It's shown only once.

Store the client secret in the application's settings or a password manager. Don't email it or paste it into tickets. If it's lost, regenerate it.

2. Configure the application

Most apps only need three values:

Application field Value
Discovery / Issuer / Metadata URL https://app.ideverywhere.com/.well-known/openid-configuration (some apps want just https://app.ideverywhere.com)
Client ID From step 1
Client Secret From step 1 (Confidential apps only)
Scopes openid profile email

If the app wants individual endpoints instead of a discovery URL, click View Provider Configuration on the OIDC Apps page to copy them.

3. Test it

  1. Open the application in a private browser window and choose the ID Everywhere sign-in option.
  2. Sign in with a test user. You'll see the ID Everywhere sign-in and two-factor screens.
  3. You should land back in the application, signed in.

Check the Audit Log for oidc.token.issued to confirm.

What the application receives

Claim Contains Scope
sub A permanent, unique ID for the person. Apps should link accounts by this. openid
name, given_name, family_name Display, first and last name profile
email, email_verified Primary email email
role user or domain_admin Company apps only
tenant_id Your organization's ID Company apps only

Managing the application later

Each change is recorded in the Audit Log.

Understanding OIDC Settings and Security Terms

A plain-English glossary of the OpenID Connect terms you'll see in ID Everywhere and in applications' single sign-on settings.

Setup terms

Term Meaning
OpenID Connect (OIDC) The standard that lets an app hand sign-in over to ID Everywhere and get back who the person is. Built on OAuth 2.0.
Issuer Who issues the sign-ins: https://app.ideverywhere.com.
Discovery URL https://app.ideverywhere.com/.well-known/openid-configuration. A document listing all of ID Everywhere's endpoints and capabilities, so apps can configure themselves.
Client ID The application's public identifier in ID Everywhere. Not secret.
Client Secret The application's password. Confidential apps only. Shown once; keep it secret.
Redirect / Callback URL Where ID Everywhere sends people back after signing in. It must match exactly what's registered, which stops sign-ins being sent to the wrong place.
Scope What the app asks to know. openid is required; profile adds names; email adds the email address.
Claim One piece of information about the person, such as email or name.

Security terms

Term Meaning
Authorization Code flow The person signs in on ID Everywhere's page; the app receives a short-lived code and swaps it for tokens behind the scenes. The only flow ID Everywhere supports, because it's the most secure.
PKCE (S256) "Pixie": a one-time proof that the app swapping the code is the same one that started the sign-in. Required for Public apps and recommended for all.
Confidential vs Public client Confidential apps can keep a secret on a server; Public apps (mobile, desktop, browser-only) can't, so they use PKCE instead.
ID token A signed statement of who signed in, given to the app. Valid for 5 minutes by default; apps check it once at sign-in.
Access token Lets the app call the user info endpoint for the person's details.
RS256 / JWKS ID tokens are signed with RS256. Apps check the signature with ID Everywhere's public keys at https://app.ideverywhere.com/.well-known/jwks.json.
state and nonce Random values the app sends and checks, to block forged or replayed sign-ins.
Consent For shared applications offered to every ID Everywhere customer, people are asked once to allow the app to see their information.

Not supported

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

Delete the Postman Test application when you're finished.

Troubleshooting OIDC Connections

Use this checklist when you're setting up an OIDC application and it won't connect. For errors people see when signing in to an app that already works, see Troubleshooting OIDC Application Sign-In.

Setup checklist

Check Correct setting
Discovery / Issuer https://app.ideverywhere.com/.well-known/openid-configuration, or issuer https://app.ideverywhere.com with no trailing slash.
Redirect URL Registered in ID Everywhere exactly as the app sends it: same https, host, port, path and trailing slash.
Client type Confidential for server apps with a secret; Public (PKCE) for mobile, desktop and browser-only apps.
Client authentication Secret sent with HTTP Basic (client_secret_basic). If the app offers "client_secret_post" or "Send in body", change it to Basic.
Grant / response type Authorization Code (response_type=code). Not Implicit, Hybrid or Password.
Scopes openid plus profile and email as needed. Every scope the app requests must be ticked on the OIDC app in ID Everywhere, or the sign-in fails with invalid_scope.
PKCE S256 if the app supports it. Plain PKCE isn't accepted.
Token signing RS256. Keys come from the JWKS URL in discovery.
Refresh tokens Turn off "offline access" or refresh token options. They aren't issued.

Common setup problems

Symptom Fix
"Redirect URI mismatch" or invalid_redirect_uri Copy the callback URL from the app's error or settings and paste it into the OIDC app's redirect URLs exactly.
invalid_client right after setup The secret is wrong, or the app sends it in the request body. Switch to Basic auth, or regenerate the secret and paste it carefully.
unsupported_grant_type The app is asking for something other than the authorization code, such as a refresh token or password grant. Change its grant type.
"Invalid signature" or "unable to verify token" The app must use RS256 and fetch keys from the JWKS URL. Don't paste a fixed key; ID Everywhere may rotate keys.
Sign-in works, then the app says the token expired The app's server clock is wrong. ID tokens are short-lived, so fix the time on the server.
Signed in, but no email or name in the app Add the email and profile scopes, and map the app's fields to the email and name claims.
The app signs in the wrong account or makes duplicates Have the app link accounts by sub, not by email. Emails can change.

Narrow it down

  1. Test with Postman. See Testing ID Everywhere OIDC with Postman.
  2. Check the Audit Log for oidc.* events at the time of the attempt.
  3. Check the app's own logs; most show the exact OIDC error.