Illegal value for redirect_uri parameter Skip to main content
https://support.okta.com/help/answers?id=9062a000000dfncqa4&refurl=http%3a%2f%2fsupport.okta.com%2fhelp%2fanswers
How satisfied are you with the Okta Help Center?
Thank you for your feedback!
How satisfied are you with the Okta Help Center?
1
2
3
4
5
Very Dissatisfied
Very satisfied
Enter content less than 200 characters.
Ask Search:
Mark HibbertMark Hibbert 

Illegal value for redirect_uri parameter

I have setup a test application which includes a URL in the form:

http://server/dir/controller/action/

When I login it is coming up with the error "Illegal value for redirect_uri parameter" and the redirectUrl is showing as "http://server" only.
I can find nowhere else that this value is stored, so what am I missing?

Appreciate any help :)
Raphael LondnerRaphael Londner (Okta, Inc.)
Hi Mark,

I suppose you are referring to an OpenID Connect-enabled application, am I wrong?

If so, you should make sure the redirect url in the General tab of your OpenID Connect app in Okta contains the exact the redirect_uri you're passing from your resource server (aka your custom app running on your server).

Does that help?

Regards,

Raphael.