<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
0D54z00009uIwLyCAKOkta Classic EngineIntegrationsAnswered2023-12-15T20:00:44.000Z2023-12-15T18:02:00.000Z2023-12-15T20:00:44.000Z

PavelK.01592 (Customer) asked a question.

openid authentication is not working in prod okta account, but works in dev account

I configured my app integration with dev okta account following this instruction: https://developer.okta.com/blog/2018/07/12/flask-tutorial-simple-user-registration-and-login. However, when I try to do the same steps for the prod okta account it doesn't work:

401 Client Error: Unauthorized for url: https://{domain}/oauth2/default/.well-known/openid-configuration.

Authentication policies for app in both accounts are identical.

I also noticed that in the dev account OIDC identity provider was automatically created, which was not the case in the prod account, so I created an identity provider in the prod account myself, but still no success.

 

I will appreciate any ideas of what I can be missing here.


  • Hi @PavelK.01592 (Customer)​ , Thank you for reaching out to the Okta Community! 

     

     This question is more appropriate for our dedicated Okta Developer Forum.

    My advice would be to reach out devforum.okta.com to take advantage of their expertise.  

    While we'll do our best to answer all of your questions here, this medium is more inclined towards Okta core products and features (non-developer work). 

     

    That being said, seeing it’s a 401 error, my best guess is that you’ll need to check any URL typo’s in the configuration and review client ID/Secrets as well as the API token being used in case you copy-pasted some of the configuration from one environment to the other.

      

    For further inquiries into the matter, please refer to our colleagues on the devforum.okta.com side.  

     

    If my answer helped, remember to mark it as best to increase its visibility for other members of the Okta Community who might have the same questions as you. 

     

    Hope my answer helps! 

    --------------------------------

    Earn Today: New Okta Community Badges Have Arrived

    Expand Post
This question is closed.
Loading
openid authentication is not working in prod okta account, but works in dev account