<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
System Status
Announcements
Announcements
Search
Search
Select Language

Resolving the "unsupported_response_type" Error in Okta for OIDC Authorization Requests

All Engines
Okta Classic Engine
Okta Identity Engine
API Access Management

Overview

When making an /authorize request to sign users into an OpenID Connect (OIDC) application, the following error occurs:

 

"error":"unsupported_response_type","error_description":"The response type is not supported by the authorization server. Configured response types: ...."

 

The error occurs because the OpenID Connect application does not have the required grant type configured. Enabling the correct grant type in the application settings and, if applicable, in the Custom Authorization Server access policies resolves the issue.

Applies To

  • Okta Identity Engine (OIE)
  • Okta Classic Engine
  • OpenID Connect (OIDC)
  • OAuth 2.0
  • Custom Authorization Server
  • Org Authorization Server

Cause

The OpenID Connect application in Okta does not have the grant type configured for the requested response_type. The response_type parameter in the /authorize request does not align with the grant types enabled in the application's General Settings or within the Access Policies of a Custom Authorization Server.

Solution

How to configure the Grant Type in Application Settings?

In the Admin Console, configure the grant type in the OIDC application's General Settings to match the requested response_type.

  1. Go to Applications > Applications.
  2. Select the OIDC application.
  3. Go to General > General Settings.
  4. Enable the grant type associated with the required response_type:
    • response_type=code: Authorization Code
    • response_type=id_token: Implicit (hybrid) > Allow ID Token with implicit grant type
    • response_type=token: Implicit (hybrid) > Allow Access Token with implicit grant type

 

NOTE: When requesting multiple response types, enable each associated grant type.

 

OpenID Connect application > General Settings

 

How Is the Custom Authorization Server Configured to Support the Required Grant Types?

The following steps apply only when using a Custom Authorization Server. Skip these steps if using the Org Authorization Server.

Configure the required grant types within the Custom Authorization Server access policies.

  1. Go to Security > API.
  2. Select Authorization Servers.
  3. Select the specific Authorization Server.
  4. Select Access Policies.
  5. Select the relevant Access Policy and Access Rule.
  6. Ensure the required grant types are enabled within the rule.

Access Policies > edit Access Rule

 

Verifying the response_type Parameter in the Authorization Request

After configuring the settings, confirm that the application passes the correct response_type value in its /authorize request to match the enabled grant types:

  • Authorization Code flow: response_type=code
  • Implicit flow: response_type=id_token or response_type=token id_token
  • Hybrid flow: response_type=code id_token

 

Related References

Loading
Resolving the "unsupported_response_type" Error in Okta for OIDC Authorization Requests | Okta Support