<div dir="ltr">I assume your auth-method is set to FORM? If so change it to KEYCLOAK and users will login on the Keycloak login page.</div><div class="gmail_extra"><br><div class="gmail_quote">On 3 November 2015 at 17:34, Victor Neves Evangelista <span dir="ltr"><<a href="mailto:victor.evangelista@caixa.gov.br" target="_blank">victor.evangelista@caixa.gov.br</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="PT-BR" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">Good afternoon,<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">I'm having problems with keycloak redirect after login using j_security_check.<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">I have many applications and i can't change JAAS authentication. So, i'm using keycloak JAAS (chapter 8 , p. 35 , version 1.6.0).<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">After login, keycloak redirect me to http://<application>/j_security_check !!!<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">But i need that keycloak redirect me to other URI !<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">I tried many configurations in keycloak client ID, and dont work.<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">I suggest create a item in keycloak.json where you say to where redirect after login successful; and a item to redirect when token expire.<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">My problem is posted in <a href="http://lists.jboss.org/pipermail/keycloak-user/2015-November/003528.html" target="_blank">http://lists.jboss.org/pipermail/keycloak-user/2015-November/003528.html</a><u></u><u></u></span></font></p>
</div>
</div>
<br>_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br></blockquote></div><br></div>