Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

keycloak Invalid parameter: redirect_uri

Tags:

keycloak

When I am trying to hit from my api to authenticate user from keycloak, but its giving me error Invalid parameter: redirect_uri on keycloak page. I have created my own realm apart from master. keycloak is running on http. Please help me.

like image 610
VIJAY THAKUR Avatar asked Oct 18 '22 11:10

VIJAY THAKUR


1 Answers

What worked for me was adding wildchar '*'. Although for production builds, I am going to be more specific with the value of this field. But for dev purposes you can do this.

enter image description here

Setting available under, keycloak admin console -> Realm_Name -> Cients -> Client_Name.

EDIT: DO NOT DO THIS IN PRODUCTION. Doing so creates a large security flaw.

like image 102
tryingToLearn Avatar answered Oct 21 '22 01:10

tryingToLearn