<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content

Okta Error "400 Bad Request" When Redirecting to the /authorize Endpoint With No Error Description

API Access Management
Okta Classic Engine
Okta Identity Engine

Overview

An OpenID Connect (OIDC) authentication flow fails with a 400 Bad Request error and no detailed description due to a misconfigured authorized URL or application setting in Okta. Resolving this issue requires verifying the application status and ensuring the client ID matches the Okta organization subdomain exactly. During an attempt to initiate an OIDC authentication flow, a redirection to the /authorize endpoint occurs, and the following error message appears without a detailed description:

 

400 Bad Request

 

400 Bad Request

Applies To

  • Okta Identity Engine (OIE)
  • Okta Classic Engine
  • OpenID Connect (OIDC) Application

Cause

A misconfiguration in the authorized URL or within the application settings in Okta invalidates the authorization request. If no error description appears on the page, Okta does not recognize the provided redirect_uri, or an issue exists with the client_id.

NOTE: Okta does not generate System Log events for this specific error. Only the end user sees this error message in the browser.

Solution

How is the 400 Bad Request error resolved?

Verify the application status in the Admin Console and confirm the client ID configuration matches the request parameters exactly.

  1. Verify the application status in the Admin Console.
  2. Ensure the OIDC application status is Active.
  3. Check if the request provides the valid client_id.
  4. Confirm the client_id belongs to the specific Okta organization subdomain where the request originates.
  5. Ensure the client_id matches the value in the Admin Console exactly, as these values are case-sensitive.
  6. Verify that no extraneous spaces exist in the client_id or other request parameters.
  7. Check that the client_id state is Active.

 

Related References

Loading
Okta Support - Okta Error "400 Bad Request" When Redirecting to the /authorize Endpoint With No Error Description