Applications & Single Sign-On
Connect applications to ID Everywhere using OIDC and configure secure single sign-on.
- OpenID Connect (OIDC)
- 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
- OIDC Tutorials
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:
- 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.
OIDC Tutorials
Connecting WordPress with OpenID Connect
Let people sign in to a WordPress website with their ID Everywhere account, including two-factor authentication. This guide uses the free OpenID Connect Generic Client plugin and links ID Everywhere to the WordPress accounts you already have, by email address.
Before you start
- You need to be an administrator on the WordPress site and a Domain Admin in ID Everywhere.
- Each person who will sign in needs an ID Everywhere account in your company, with the same email address as their WordPress account (users must already be created in WordPress with the same email).
- Keep a WordPress administrator browser window signed in while you set this up, so you can't lock yourself out.
1. Install the plugin
- In WordPress, go to Plugins › Add New Plugin.
- Search for OpenID Connect Generic Client, then click Install Now and Activate.
- Go to Settings › OpenID Connect Client. Scroll to the bottom and copy the Redirect URI. It looks like this:
https://yourwebsite.com/wp-admin/admin-ajax.php?action=openid-connect-authorize
2. Register WordPress in ID Everywhere
- In ID Everywhere, go to Sign-In › OIDC Apps and click + Add OIDC Application.
- Application Name: your website's name, for example "Company Website". People see it on the sign-in screen and in their sign-in emails.
- Client Type: Confidential. WordPress runs on a server, so it can keep a secret.
- Authorized Redirect / Callback URLs: paste the Redirect URI from step 1, exactly as WordPress shows it, including the
?action=openid-connect-authorizepart. - Scopes: leave
openid,profileandemailticked. WordPress needs the email address to find each person's account. - Click Create Application, then copy the Client ID and the Client Secret. The secret is shown only once.
Paste the client secret straight into WordPress or a password manager. Don't email it. If it's lost, or you're not sure it was pasted exactly, click Regenerate Client Secret and use the new one.
3. Configure the plugin
Back in WordPress, on Settings › OpenID Connect Client, enter these settings:
| Setting | Value |
|---|---|
| Login Type | OpenID Connect button on login form (recommended to start; see Login Type) |
| Client ID | From step 2 |
| Client Secret Key | From step 2 |
| OpenID Scope | openid email profile |
| Login Endpoint URL | https://app.ideverywhere.com/oauth2/authorize |
| Userinfo Endpoint URL | https://app.ideverywhere.com/oauth2/userinfo |
| Token Validation Endpoint URL | https://app.ideverywhere.com/oauth2/token |
| End Session Endpoint URL | Leave blank |
| JWKS URI | https://app.ideverywhere.com/.well-known/jwks.json (lets WordPress check that each sign-in really came from ID Everywhere; shown in newer versions of the plugin) |
| Issuer |
|
| JWKS Cache TTL (seconds) |
|
| ACR values |
Leave blank |
| Identity Key |
|
| HTTP Request Timeout |
|
| Disable SSL Verify | Unticked |
| Nickname Key | given_name |
| Email Formatting | {email} |
| Display Name Formatting | {given_name} {family_name} |
| Identify with User Name | Unchecked |
| Enable Refresh Token | Unchecked (ID Everywhere doesn't issue refresh tokens) |
| Link Existing Users | Checked |
| Create user if does not exist | Unchecked (see below) |
| Redirect Back to Origin Page | Suggest Checked but your choice. Checked will return them back to the wordpress login page if their access token has expired |
Click Save Changes.
Don't use preferred_username for the Identity Key or Nickname Key. Some providers send it, but ID Everywhere doesn't, and WordPress will refuse the sign-in.
How WordPress matches people to their accounts
With the settings above, WordPress uses the email address from ID Everywhere to find the right account:
- The first time someone signs in with ID Everywhere, WordPress looks for an existing account with the same email address.
- If it finds one, it signs them in to that account and links the two. They keep their WordPress role, posts and settings, and their WordPress password still works too.
- After that, they're signed in to the linked account every time.
| Situation | What happens |
|---|---|
| WordPress account with the same email | Signed in to that account |
| No WordPress account with that email | Sign-in is refused, because Create user if does not exist is off. |
| Different email in WordPress and ID Everywhere | Treated as no account. Update the email in WordPress (Users › Edit) or in ID Everywhere so they match |
| Person disabled in ID Everywhere | Can no longer sign in with ID Everywhere. If they also know their WordPress password, remove or disable their WordPress account too |
Leave "Create user if does not exist" off unless you want everyone in your company to get a WordPress account automatically. If you turn it on, new accounts get WordPress's default role (Settings › General › New User Default Role (default is Subscriber)). Make sure that's Subscriber, never Administrator.
Only people in the company that owns the OIDC app can sign in to it. If you're an MSP setting this up for a client, create the app while you're working in that client's company.
Login Type: button or automatic
- OpenID Connect button on login form: the normal WordPress login page shows a Login with ID Everywhere button, and the username and password fields stay available. Start with this, so you can still sign in with a WordPress password while you test.
- Auto Login - SSO: visiting the login page sends people straight to ID Everywhere. Switch to this only after ID Everywhere sign-in is working for every administrator.
To put the sign-in button somewhere else, such as a members page, add the shortcode [openid_connect_generic_login_button].
4. Test it
- Open a private browser window and go to your WordPress login page, for example
https://yourwebsite.com/wp-login.php. - Click Login with OpenID Connect.
- Sign in with your ID Everywhere email, password and two-factor code. If you're already signed in to ID Everywhere, this step is skipped.
- You land in WordPress, signed in to your existing account.
The person signing in gets a New App Sign-In email naming your website. They get one the first time they use it during each ID Everywhere session.
Troubleshooting
Turn on Enable Logging in the plugin settings to see each step. In ID Everywhere, check the Audit Log for oidc. events at the same time.
| Error | Cause and fix |
|---|---|
invalid_client |
The Client ID or Client Secret in WordPress doesn't match. Paste them again; if unsure, regenerate the secret. |
| Redirect URI error on the ID Everywhere screen | The Redirect URI registered in ID Everywhere doesn't exactly match the one in the plugin. Copy it again from the bottom of the plugin's settings page. |
| "User is not authorized for this application" | The person belongs to a different company from the one that owns the OIDC app. |
| WordPress says the user is invalid, or the user claim is missing | The Identity Key isn't email, or the email scope isn't ticked on the app in ID Everywhere. |
| Sign-in works but goes to the wrong account, or a new one | Identify with User Name is ticked. Untick it so accounts are matched by email. |
| "Failed user creation" or no account found | There's no WordPress account with that email. Create one in Users › Add New with the same email, then sign in again. |
For other errors, see Troubleshooting OIDC Connections.
Related articles
- Connecting an Application Using OIDC
- Choosing the Right OIDC Application Type
- Understanding OIDC Settings and Security Terms
Connecting Freshdesk with OpenID Connect
Let your support team sign in to Freshdesk with their ID Everywhere account, including two-factor authentication. Freshdesk uses Freshworks SSO, which connects to ID Everywhere with OpenID Connect and matches people to their Freshdesk accounts by email address.
Before you start
- You need to be an Organization Admin in Freshworks and a Domain Admin in ID Everywhere.
- Each agent who will sign in needs an ID Everywhere account in your company, with the same email address as their Freshdesk agent account (agents must already be added in Freshdesk with the same email).
- Which sign-in options you see depends on your Freshdesk plan. If OpenID Connect isn't offered, check your plan with Freshworks.
- Keep a Freshworks admin session open in another browser window while you set this up, so you can't lock yourself out.
This guide sets up sign-in for agents, your own staff. Freshdesk contacts (your customers) usually don't have ID Everywhere accounts in your company, so leave their sign-in as it is unless your help portal is only for your own people.
1. Start the SSO setup in Freshworks
- Sign in to your Freshworks organization, for example
https://yourcompany.myfreshworks.com. - Click the Security icon in the sidebar, then go to Agents & Employees › Default Login Methods.
- Turn on SSO Login and choose OpenID Connect (OIDC).
- Copy the Redirect URL Freshworks shows. You'll need it exactly in the next step. Leave this page open.
2. Register Freshdesk in ID Everywhere
- In ID Everywhere, go to Sign-In › OIDC Apps and click + Add OIDC Application.
- Application Name:
Freshdesk. People see it on the sign-in screen and in their sign-in emails. - Client Type: Confidential.
- Authorized Redirect / Callback URLs: paste the Redirect URL from Freshworks, exactly as shown.
- Scopes: leave
openid,profileandemailticked. - Click Create Application, then copy the Client ID and the Client Secret. The secret is shown only once.
Paste the client secret straight into Freshworks or a password manager. Don't email it. If it's lost, click Regenerate Client Secret and use the new one.
3. Finish the setup in Freshworks
Back on the Freshworks SSO page, fill in the fields in the order they appear:
| Freshworks field | Value |
|---|---|
| Client id | The Client ID from step 2. It starts with ide_. |
| Client secret | The Client Secret from step 2 |
| Scopes | openid,email,profile |
| Logout URL | Leave blank |
| Authorization URL | https://app.ideverywhere.com/oauth2/authorize |
| Access token URL | https://app.ideverywhere.com/oauth2/token |
| Enhanced Security: Enable PKCE for SSO Authentication | On. ID Everywhere supports PKCE, and it adds protection against intercepted sign-in codes. |
Browsers sometimes autofill your email address into Client id. Make sure it contains the Client ID from ID Everywhere (starting with ide_), not an email address.
Then open Advanced Options:
| Freshworks field | Value |
|---|---|
| Update profile every time a user logs in | On, so name and email changes in ID Everywhere carry over to Freshdesk |
| Button Label | Sign in with ID Everywhere (otherwise the button says "Sign in with SSO") |
Freshworks reads each person's email address and name from ID Everywhere automatically. No claim mapping is needed.
Click Configure SSO (or Save).
How Freshdesk matches agents to their accounts
- Freshworks finds the agent by the email address from ID Everywhere and signs them in to that account.
- If someone changes their name or email in ID Everywhere, Freshworks updates their profile the next time they sign in.
- Freshworks doesn't store a password for SSO sign-ins. Disabling someone in ID Everywhere stops them signing in to Freshdesk.
- Only people in the company that owns the OIDC app can sign in. If you're an MSP setting this up for a client, create the app while you're working in that client's company.
4. Test before turning off other sign-in methods
- Leave Freshworks' other login method (for example, email and password) turned on for now.
- Open a private browser window and go to your Freshdesk sign-in page.
- Click Sign in with ID Everywhere, then sign in with your ID Everywhere email, password and two-factor code.
- You land in Freshdesk, signed in to your own agent account.
- Once every admin has signed in this way successfully, you can turn off the other login methods in Default Login Methods, so agents always sign in through ID Everywhere.
The agent gets a New App Sign-In email naming Freshdesk. They get one the first time they use it during each ID Everywhere session.
Troubleshooting
Check the ID Everywhere Audit Log for oidc. events right after a failed attempt.
| Problem | Cause and fix |
|---|---|
| Redirect URI error on the ID Everywhere screen | The Redirect URL in ID Everywhere doesn't exactly match the one Freshworks shows. Copy it again from Freshworks. |
invalid_client (Audit Log: oidc.token.denied) |
The Client id or Client secret in Freshworks doesn't match. Check that Client id wasn't autofilled with an email address, paste both again, and if unsure, regenerate the secret. |
| "User is not authorized for this application" | The person belongs to a different company from the one that owns the OIDC app. |
| Signed in to ID Everywhere, but Freshdesk can't find the agent | The agent's email in Freshdesk doesn't match their ID Everywhere email, or they aren't an agent yet. Fix the email or add them as an agent. |
| Name is missing in Freshdesk | The profile scope is missing. Check that Scopes in Freshworks includes profile and that profile is ticked on the app in ID Everywhere. |
For other errors, see Troubleshooting OIDC Connections.