<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
0D51Y00005pIsQ1SAKOkta Classic EngineSingle Sign-OnAnswered2024-04-15T09:58:20.000Z2018-12-21T16:07:07.000Z2018-12-26T18:12:54.000Z

6d8lw (6d8lw) asked a question.

Problem logging in with OAuth2 with Production Okta

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

    Expand Post
This question is closed.
Loading
Problem logging in with OAuth2 with Production Okta