<div dir="ltr">Just for the sake of conversation, if I did want to handle my own login page, would there be a way for me to do it?</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 15, 2014 at 2:35 PM, Rodrigo Sasaki <span dir="ltr">&lt;<a href="mailto:rodrigopsasaki@gmail.com" target="_blank">rodrigopsasaki@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I don&#39;t want to miss out on all of that, which is why we&#39;re mostly migrating everything to use keycloak that way.<div>
<br></div><div>It&#39;s just that we have cases that are so specific, that it would be better to authenticate the user in a different manner, create the user session and everything, without redirecting.</div>
<div><br></div><div>I&#39;ll have a look at that code. Thanks!</div></div><div class="gmail_extra"><div><div class="h5"><br><br><div class="gmail_quote">On Tue, Jul 15, 2014 at 2:19 PM, Bill Burke <span dir="ltr">&lt;<a href="mailto:bburke@redhat.com" target="_blank">bburke@redhat.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If you want to handle your own login pages, IMO, you are missing out on<br>
a lot of Keycloak features.  Specifically:<br>
<br>
* SSO<br>
* forgot password<br>
* admin forced credential reset/setup<br>
<br>
<br>
Login pages can be styled however you like to look like your application.<br>
<br>
There is a REST api for obtaining an access token.  Here is an example:<br>
<br>
<a href="https://github.com/keycloak/keycloak/blob/master/examples/demo-template/admin-access-app/src/main/java/org/keycloak/example/AdminClient.java" target="_blank">https://github.com/keycloak/keycloak/blob/master/examples/demo-template/admin-access-app/src/main/java/org/keycloak/example/AdminClient.java</a><br>


<div><div><br>
On 7/15/2014 12:36 PM, Rodrigo Sasaki wrote:<br>
&gt; Is there a way to authenticate the user without having to input username<br>
&gt; and password on the login page?<br>
&gt;<br>
&gt; For example:<br>
&gt;<br>
&gt; Say there&#39;s a situation in my application where I request the user for<br>
&gt; his username and password, and I wouldn&#39;t like to redirect that to the<br>
&gt; keycloak login page to authenticate him, would there be a way for me to<br>
&gt; do that?<br>
&gt;<br>
&gt; --<br>
&gt; Rodrigo Sasaki<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; keycloak-user mailing list<br>
&gt; <a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
&gt;<br>
<span><font color="#888888"><br>
--<br>
Bill Burke<br>
JBoss, a division of Red Hat<br>
<a href="http://bill.burkecentral.com" target="_blank">http://bill.burkecentral.com</a><br>
_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div dir="ltr"><font face="Times New Roman">Rodrigo Sasaki</font><div></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><font face="Times New Roman">Rodrigo Sasaki</font><div></div></div>
</div>