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
- Choosing the Right OIDC Application Type
- Connecting an Application Using OIDC
- Understanding OIDC Settings and Security Terms
- Testing ID Everywhere OIDC with Postman
- Troubleshooting OIDC Connections
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:
- The application never sees the person's password.
- Two-factor authentication applies.
- People who are already signed in to ID Everywhere get in with a click.
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
- Does the application's setup screen ask for a client secret? Choose Confidential.
- Does it say "PKCE", "public client", or have no secret field? Choose Public.
- Not sure, and it's a normal website? Choose Confidential.
What both types share
- Both use the OAuth 2.0 Authorization Code flow. People sign in on ID Everywhere's page, not inside the app.
- Both support PKCE. Confidential apps can use it too, and it's recommended.
- ID tokens are signed with RS256. That's separate from PKCE's S256.
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
- Find the application's single sign-on settings. They may be called "OpenID Connect", "OIDC", "OAuth 2.0" or "Custom identity provider".
- Copy its callback (or redirect) URL. You'll need it exactly.
- Decide the client type. See Choosing the Right OIDC Application Type.
1. Register the application in ID Everywhere
- Go to Sign-In › OIDC Apps and click + Add OIDC Application.
- Enter an Application Name people will recognize. It's shown on sign-in screens.
- Choose the Client Type.
- 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.
- Choose the scopes the app may request.
openidis always on;profileandemailare ticked by default. Tickgroupsonly if the app needs it. - Click Create Application.
- 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
- Open the application in a private browser window and choose the ID Everywhere sign-in option.
- Sign in with a test user. You'll see the ID Everywhere sign-in and two-factor screens.
- 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 | |
role |
user or domain_admin |
Company apps only |
tenant_id |
Your organization's ID | Company apps only |
Managing the application later
- Save Application after editing its name or URLs. Changes apply to the next sign-in.
- Regenerate Client Secret issues a new secret; the old one stops working immediately.
- Revoke Client Secret stops the app signing anyone in until you create a new secret.
- Disabling the app (status) stops new sign-ins without deleting it.
- Delete Application removes it permanently.
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
- Refresh tokens: apps sign people in again through ID Everywhere when their own session ends. If the person is still signed in to ID Everywhere, this is quick.
- Implicit and password grants: these older flows are insecure and aren't offered.
- SAML: use OIDC instead, or ask the vendor for OIDC support.
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
- Go to Sign-In › OIDC Apps and click + Add OIDC Application.
- Name it "Postman Test" and choose Web / Server Application (Confidential).
- Add the redirect URL
https://oauth.pstmn.io/v1/callback. - Create it, and copy the Client ID and Client Secret.
2. Get a token in Postman
- Create a new request and open the Authorization tab. Set Type to OAuth 2.0.
- 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/authorizeAccess Token URL https://app.ideverywhere.com/oauth2/tokenClient ID / Client Secret From step 1 Code Challenge Method SHA-256 Scope openid profile emailState Any random text Client Authentication Send as Basic Auth header - Click Get New Access Token. Your browser opens the ID Everywhere sign-in page. Sign in with a test user, including two-factor.
- 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.
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
- Test with Postman. See Testing ID Everywhere OIDC with Postman.
- Check the Audit Log for
oidc.*events at the time of the attempt. - Check the app's own logs; most show the exact OIDC error.