Troubleshooting OIDC Connections

Overview

This guide covers common problems when connecting an application to ID Everywhere using OpenID Connect.

Many connection issues are caused by incorrect redirect URLs, missing scopes, mismatched client credentials, or unsupported OAuth settings.

Start by identifying the exact error returned by the application or identity provider.

1. Error: invalid_request

Possible causes

  1. Confirm the application uses the Authorization Code flow.

  2. Include openid in the requested scopes.

  3. Verify the Client ID.

  4. Confirm the redirect URI is registered.

  5. For public clients, confirm PKCE S256 is enabled.

  6. Retry with a new authorization request.

A common working scope configuration is:

openid profile email

2. Redirect URI mismatch

Symptoms

Authentication is rejected before completion, or the application reports an invalid callback URL.

Possible causes

The callback URL supplied by the application does not match the registered redirect URL.

Compare the URLs character by character.

Check:

For example, these are different redirect URLs:

https://portal.example.com/auth/callback

https://portal.example.com/auth/callback/

Do not add wildcard redirect URLs to work around mismatches.

3. Error: invalid_client

Possible causes

  1. Verify the Client ID in ID Everywhere.

  2. Confirm whether the client is Public or Confidential.

  3. For confidential clients, verify the Client Secret.

  4. Confirm the application uses an appropriate token endpoint authentication method.

  5. For public clients, remove any unnecessary Client Secret.

  6. If the secret may have been exposed, rotate it and update the connected application.

4. Error: invalid_grant

Possible causes

  1. Start a completely new sign-in attempt.

  2. Do not reuse an authorization code.

  3. Confirm the same Client ID is used throughout the flow.

  4. Verify the redirect URI remains consistent.

  5. Confirm PKCE S256 is configured correctly.

  6. Ensure the application and server clocks are accurate.

5. Error: invalid_scope

Possible causes

The application requests a scope that is not supported or permitted.

Start with:

openid profile email

ID Everywhere currently advertises:

Remove unsupported scopes and retry.

Only request groups if the application needs group-related information and the integration supports the required claim behavior.

6. Error: Token signature validation failed

Possible causes

Verify the expected issuer:

https://app.ideverywhere.com

Verify the JWKS endpoint:

https://app.ideverywhere.com/.well-known/jwks.json

Confirm that the application:

  1. Retrieves the correct public signing keys.

  2. Validates the token signature.

  3. Validates the issuer (iss).

  4. Validates the audience (aud).

  5. Checks expiration (exp).

  6. Performs any other required OIDC validation.

ID Everywhere advertises RS256 for ID-token signatures.

Never disable signature verification as a troubleshooting workaround.

7. Error: Unauthorized UserInfo request

Possible causes

Make a GET request to:

https://app.ideverywhere.com/oauth2/userinfo

Include:

Authorization: Bearer YOUR_ACCESS_TOKEN

Replace the placeholder with a valid access token.

Do not use the Client Secret or ID Token in place of the access token.

8. User cannot sign in

Possible causes

  1. Confirm the user can sign in to ID Everywhere normally.

  2. Verify the user's account is active and authorized.

  3. Confirm the correct tenant and application registration.

  4. Review relevant authentication and audit information available to administrators.

  5. Retry after resolving the underlying account issue.

Do not repeatedly retry a locked or restricted account without determining the cause.

9. Application asks for unsupported settings

Some applications offer multiple authentication protocols and grant types.

SAML metadata URL

SAML is not interchangeable with OIDC. The documented IDE integration does not currently provide SAML configuration.

OAuth 1.0 credentials

OAuth 1.0 is not supported by the documented integration.

Client Credentials grant

The documented OIDC integration uses Authorization Code, not Client Credentials.

Implicit or Password grant

These are not supported by the current documented IDE integration.

Refresh Token required

Refresh-token support is not currently advertised. Confirm the connected application's requirements before proceeding.

10. Third-party testing tool reports an error

Some online OIDC testing tools use their own backend services to exchange authorization codes.

An error from the testing tool does not necessarily indicate an error in ID Everywhere.

For example, a tool may reject a URL through its own security validation before contacting the provider.

If this happens:

  1. Identify which service generated the error.

  2. Verify ID Everywhere's discovery document.

  3. Retry using Postman or another trusted OIDC-compatible client.

  4. Compare the authorization and token requests.

  5. Avoid exposing credentials in publicly accessible testing tools.

Information to provide when requesting support

To help diagnose a connection issue, provide:

Never send passwords, Client Secrets, authorization codes, access tokens, ID tokens, or private signing keys to support.


Revision #1
Created 2026-10-10 22:12:18 UTC by Administrator
Updated 2026-10-10 22:12:29 UTC by Administrator