400 Bad Request - Description: The 'redirect_uri' parameter must be an absolute URI that is whitelisted in the client app settings

I followed the instructions given in sample-nodejs-express-4 and also went through following bug Error 400 bad request. I am still getting the issue reported in the bug.

I have put the login-redirect-url as localhost:8080/ itself and added localhost:8080 in the trusted origins.

Thanks,
Prasad

Adding redirectUri in .sample.config.json matching with application in okta solved the issue. You can close this ticket.

“Adding redirectUri in .sample.config.json matching with application in okta solved the issue”

Can you explain this more in detail? What setting? Where?

3 Likes

@mike_montana did you come right in finding out what you need to fix the 400 error?

Hi @G71

Please check the article available here on the redirect_uri issue.

Hi @dragos
I already referred to this web page. As suggested, both redirect url and sign in url both are same in my case. But still that localhost is not redirecting to okta page. It would be grateful for the response in advance.


This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.