<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
0D54z0000A4iBoICQUOkta Classic EngineSingle Sign-OnAnswered2024-04-30T17:37:57.000Z2024-04-23T17:02:31.000Z2024-04-30T17:37:57.000Z

JoshK.33218 (Customer) asked a question.

Creating an OIDC authentication application and getting illegal_redirect_uri_enhanced

I am creating my very first OIDC auth application and am having a struggle getting it to work. I'm working with a vendor and have provided them everything they have needed thus far. They are to a point where we are "supposed" to be able to allow the app for the entire org, but I can't get it work.

 

When I click the login with OpenID, it takes me to a page with a 400 error , bad request with this error:

'redirect_uri' parameter must be a Login redirect URI in the client app settings:

 

Then it lists a url below to the actual app where I can make the change. The vendor had me put the url to the app in the redirect uri setting and that doesn't work. I found an article that had me look through the logs on the app and find the bad request. That's where I found the illegal_redirect_uri_enhanced error.

 

In looking at the error, and the support document, there is a very lengthy url listed, that according to the document, I copy and add as a redirect uri to the app. That doesn't work either. Is there something I need from the vendor to get this working (they seem to think it's on our end, which it very well may be), or is there somewhere else I can look to find the correct redirect uri?

 

Thanks for any help!!


  • User16594883467582706479 (Customer Support Online Experience)

    Hi, @JoshK.33218 (Customer)​ 

     

    Thank you for posting on our Community page!

     

    You need to ensure that the redirect_uri exactly matches as the one you have set in the application settings. Any mismatch even with the trailing slashes, https vs http can throw this error.

     

    My advice would be to leverage the Okta Developer forums for this type of questions and take advantage of their expertise.

    https://devforum.okta.com/

     

    Thank you for reaching out to our Community and have a great day!

    --

    Help others in the community by liking or hitting Select as Best if this response helped you.

    Expand Post
    Selected as Best
  • User16594883467582706479 (Customer Support Online Experience)

    Hi, @JoshK.33218 (Customer)​ 

     

    Thank you for posting on our Community page!

     

    You need to ensure that the redirect_uri exactly matches as the one you have set in the application settings. Any mismatch even with the trailing slashes, https vs http can throw this error.

     

    My advice would be to leverage the Okta Developer forums for this type of questions and take advantage of their expertise.

    https://devforum.okta.com/

     

    Thank you for reaching out to our Community and have a great day!

    --

    Help others in the community by liking or hitting Select as Best if this response helped you.

    Expand Post
    Selected as Best
This question is closed.
Loading
Creating an OIDC authentication application and getting illegal_redirect_uri_enhanced