
6d8lw (6d8lw) asked a question.
I'm trying to use our OAuth2 flow for logging in users with Okta. In our dev account I'm using "/oauth2/default/v1/authorize" and everything works fine. However, using this URI with our production account redirects me to a 400 error page with the message "The requested feature is not enabled in this environment". I saw where some people have said to remove the /oauth2/default" from the URI, which I tried, but got a 404 error. Then I though that maybe I need to configure my auth server, but I don't see anywhere to do that in the production account. The Dev account has a "Developer UI" but our production environment doesn't have that. Any help would be greatly appreciated as this is all very confusing.

Hi Jordan,
For the Production environment, you will need a feature enabled so I would suggest opening a case to Support so that they can enable it. It is called API Access Management and I would recommend contacting your Account Executive to provide entail on enabling this feature.
Could you also try : "/oauth2/v1/authorize" ?
More details here : https://developer.okta.com/docs/api/resources/oidc
Bogdan Radu
Technical Support Engineer
Okta Global Customer Care