<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
0D54z00007Th8djCABOkta Classic EngineSingle Sign-OnAnswered2024-03-25T15:23:32.000Z2022-03-03T11:33:46.000Z2022-06-03T12:11:56.000Z

oocac (oocac) asked a question.

400 Bad Request; The 'redirect_uri' parameter must be a Login redirect URI in the client app settings

By following this link "https://developer.okta.com/docs/guides/add-an-external-idp/saml2/main/*create-an-identity-provider-in-okta" I have added one okta application as an external Identity provider. By making this request "https://${yourOktaDomain}/oauth2/v1/authorize?idp=${idp_id}&client_id=${client_id}&response_type=id_token&response_mode=fragment&scope=openid%20email&redirect_uri=https%3A%2F%2FyourAppUrlHere.com%2F&state=WM6D&nonce=YsG76jo

" I should get redirected to my redirect URL with ID token. Workflow gets completed perfectly I do get redirected to redirect_uri with token only when I am already login in okta, if I sign out from okta than instead of taking me to okta login page it shows me this "400 Bad Request; The 'redirect_uri' parameter must be a Login redirect URI in the client app settings" error. I did make sure that redirect URL is same and all the other parameters are also good. We have made a custom widget to login with okta in our application

Image is not available

 


This question is closed.
Loading
400 Bad Request; The 'redirect_uri' parameter must be a Login redirect URI in the client app settings