Skip to main content

Troubleshooting OIDC Application Sign-In

Use this when an application connected to ID Everywhere with OpenID Connect (OIDC) won't sign people in. For setting up an app, see Connecting an Application Using OIDC.

Start here

  1. Check the application is Active under Sign-In › OIDC Apps.
  2. Check the Audit Log, filtered on oidc. Look for oidc.token.denied, oidc.userinfo.denied or oidc.consent.denied around the time of the attempt.
  3. Note the error the application shows. It's usually one of the codes below.

Errors and fixes

Error Usual cause Fix
invalid_redirect_uri or a redirect error The app's callback URL doesn't match the Redirect URI registered in ID Everywhere. Copy the callback URL from the application into the OIDC app's Redirect URIs exactly: same https, host, path and trailing slash.
invalid_client Wrong client ID or client secret, or the secret was regenerated or revoked. Copy the client ID again. If the secret was lost or changed, click Regenerate Client Secret on the app, then update it in the application. The old secret stops working immediately.
unauthorized_client The app is disabled, or isn't allowed to use that sign-in method. Check the app is Active and its application type matches how the app signs in. See Choosing the Right OIDC Application Type.
invalid_grant The sign-in code expired, was already used, or didn't match the PKCE check. Start the sign-in again. If it keeps happening, check the app isn't reusing codes and that the server clock is correct.
invalid_scope The app asked for a scope ID Everywhere doesn't offer. Request openid, plus profile and email if needed.
invalid_token The app called the user info endpoint with an expired or invalid access token. Have the app use a fresh access token from the latest sign-in.
access_denied: "The user declined to share their information." The person clicked Deny on the consent screen. Sign in again and click Allow.
"User is not authorized for this application." The app is registered to a different company than the person signing in. Company apps only accept that company's users. Register the app in the person's company, or, if it's an MSP-managed client, check you created it while working in the right company.
"User is not active." The person's ID Everywhere account is disabled. Enable them under Users.

Useful values

  • Discovery URL: https://app.ideverywhere.com/.well-known/openid-configuration. Most apps only need this, the client ID and the secret.
  • Tokens are signed with RS256. Public keys are published at https://app.ideverywhere.com/.well-known/jwks.json.

Test outside the app

Testing with a tool like Postman shows whether the problem is in ID Everywhere or in the application. See Testing ID Everywhere OIDC with Postman and Troubleshooting OIDC Connections.