Keycloak login page shows 'invalid parameter: redirect_uri'

前端 未结 2 1034
南笙
南笙 2021-02-15 20:59

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 pag

相关标签:
2条回答
  • 2021-02-15 21:21

    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.

    0 讨论(0)
  • 2021-02-15 21:28

    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.

    0 讨论(0)
提交回复
热议问题