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.
- Open ID Connect for Okta Orgs Without the API Access Management Feature
- Okta Classic Engine
- Okta Identity Engine (OIE)
The base URL used for the authentication attempt is incorrect.
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.
