
xoz16 (xoz16) asked a question.
400 Bad Request - Login redirect URI
Hi,
Our Web App - project getting the following error, not getting okta login page.
The 'redirect_uri' parameter must be a Login redirect URI in the client app settings.
Please help us to resolve.

Thank you for reaching out to us regarding this.
Overview
During the authorize request of an implicit or authorization code flow (Open ID or OAuth), a 400 Bad Request error appears.
Applies ToAuthorize (GET /authorize https://developer.okta.com/docs/api/resources/oidc#authorize) request of
CauseThis error is returned because the value of ${redirect_uri} used in authorize request is not registered in the Open ID client in Okta, as an allowed Login Redirect URI
ResolutionIn the following example authorize request
https://example.okta.com/oauth2/v1/authorize?client_id=0oais56vveNLSDqby0x7&scope=openid+profile&response_type=id_token&response_mode=fragment&nonce=1234&redirect_uri=
http://localhost:8888/my-app/signin.html/&state=someState
Make sure that redirect _uri = http://localhost:8888/my-app/signin.html/ is registered as an allowed Login redirect URI in Open ID Client (using client id 0oais56vveNLSDqby0x7 in the example above)
If any of the information is not visible, the full article can be found here:
https://support.okta.com/help/s/article/The-redirect-uri-parameter-must-be-an-absolute-URI?language=en_US