<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 "The requested feature is not enabled in this environment" when Attempting to Log into OpenID Connect Application
Okta Classic Engine
All Engines
Okta Identity Engine
API Access Management
Overview

This article discusses the situation in which a 400 error is returned when attempting to authenticate with Okta using OpenID Connect (OIDC).

The Error Code is:

 

server_error

 

Error Description:

 

Your request resulted in an error. The requested feature is not enabled in this environment.


Error Message

Applies To
  • Open ID Connect for Okta Orgs Without the API Access Management Feature
  • Okta Classic Engine
  • Okta Identity Engine (OIE)
Cause

The base URL used for the authentication attempt is incorrect.

Solution

Using the URL of the form https://org.okta.com/oauth2/default/v1/authorize requires an additional paid feature of API Access Management, which is used for custom authorization servers.

 

Instead, use the URL https://org.okta.com/oauth2/v1/authorize to access the default authorization server for Okta without API Access Management.

 

Related References

Loading
Okta Error "The requested feature is not enabled in this environment" when Attempting to Log into OpenID Connect Application