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
You need to check the keycloak admin console for fronted configuration. It must be wrongly configured for redirect url and web origins.