Keycloak login page shows 'invalid parameter: redirect_uri'

23,564

Solution 1

When you created the client in Keycloak you set the required 'Valid Redirect URIs' field. Most likely the pattern you entered there doesn't match the redirect uri you are sending from your client. If you use ports numbers, they have to match too!. If this is not the problem, check what your Keycloak server is logging and add those details here to your question.

Solution 2

this is occurred due to base url and valid redirect url are different. So I have added same URL on both the text box.Now its working fine.

Share:
23,564
VIJAY THAKUR
Author by

VIJAY THAKUR

Updated on June 30, 2020

Comments

  • VIJAY THAKUR
    VIJAY THAKUR almost 4 years

    I am using Keycloak authentication to authenticate an angular app and so far I have managed to redirect my login to Keycloak server. But when redirected instead of the login page I am getting a 500 error page with the message Invalid parameter: redirect_uri