<div dir="ltr">Hi,<div><br></div><div>We used to set up a GeoNode 3.3x + Keycloak site according to <a href="https://gist.github.com/t-book/0fb30804e217bdeb064dd91b5041fbc9">https://gist.github.com/t-book/0fb30804e217bdeb064dd91b5041fbc9</a> and things worked well.</div><div><br></div><div>Now as we are trying GeoNode 4.0.0rc0, following the same steps. But when clicking at the "Sign in with Keycloak" link (which is something like https://<keycloak-hostname>/account/keycloak/login/?process=login&next=%2F ), it doesn't redirect the user to the Keycloak site, but instead got stuck at geonode.</div><div><br></div><div>When checking that URL, we found that if the request is made with HEAD (i.e., curl -I), the response seems to be correct (HTTP 302, redirecting users to Keycloak).</div><div><br></div><div><img src="cid:ii_l2rjh5pe0" alt="image.png" width="888" height="215" style="margin-right: 0px;"><br></div><div><br></div><div>But when using browsers or normal curl (curl -v -o /dev/null "https://<geonode-hostname>/account/keycloak/login/?process=login&next=%2F", it responds with HTTP 200, which is wrong.</div><div><img src="cid:ii_l2rjmvme1" alt="image.png" width="955" height="315" style="margin-right: 0px;"><br></div><div><br></div><div>Any input is really appreciated. </div><div><br></div><div>Thank you very much in advance,</div><div>Pattara </div><div><br></div><div><br></div></div>