<div dir="ltr">Hi Bill,<div><br></div><div>ok, so 4.3 seems to be the way to go for us. Did I understand you correctly that keycloak will continue to support this?</div><div><br></div><div>Cheers,</div><div>Nils</div></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Apr 14, 2014 at 4:39 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">
You could use section 4.1 (Auth code grant) or 4.3 (Resource Owner<br>
Password Credentials Grant) with any OAuth library.  4.1 will require a<br>
browser.  4.3 doesn&#39;t.<br>
<br>
We will always support OAuth 2.0 through OpenID Connect.<br>
<div class=""><br>
On 4/14/2014 10:34 AM, Nils Preusker wrote:<br>
&gt; Hi Bill,<br>
&gt;<br>
&gt; I&#39;m familiar with the examples, however I&#39;m looking for a way to grant<br>
&gt; third-party clients access to my API. Since they could be written in a<br>
&gt; variety of languages, I&#39;d like them to be able to obtain a token in a<br>
&gt; defined way without being dependent on Keycloak.<br>
&gt;<br>
&gt; I suppose the approach Marek mentioned (OAuth spec section 4.3) should<br>
&gt; do the trick though (as long as you are planning to continue supporting it).<br>
&gt;<br>
&gt; Cheers,<br>
&gt; Nils<br>
&gt;<br>
&gt;<br>
&gt; On Mon, Apr 14, 2014 at 3:32 PM, Bill Burke &lt;<a href="mailto:bburke@redhat.com">bburke@redhat.com</a><br>
</div><div class="">&gt; &lt;mailto:<a href="mailto:bburke@redhat.com">bburke@redhat.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     Bearer token security.  Take a look at the examples, specifically the<br>
&gt;     database-service.  This is a pure REST service secured by keyloak.<br>
&gt;<br>
&gt;     At the moment, we only have support for JBoss/Wildfly, but it wouldn&#39;t<br>
&gt;     take much to write an adapter for another java environment.<br>
&gt;<br>
&gt;     On 4/12/2014 1:09 PM, Nils Preusker wrote:<br>
&gt;      &gt; Hi all,<br>
&gt;      &gt;<br>
&gt;      &gt; I&#39;m trying to figure out how I could use keycloak to secure a<br>
&gt;     REST API<br>
&gt;      &gt; that is used bu a pure backend REST client. Do you have any<br>
&gt;      &gt; recommendations for that (i.e. API keys)?<br>
&gt;      &gt;<br>
&gt;      &gt; Cheers,<br>
&gt;      &gt; Nils<br>
&gt;      &gt;<br>
&gt;      &gt;<br>
&gt;      &gt; _______________________________________________<br>
&gt;      &gt; keycloak-user mailing list<br>
</div>&gt;      &gt; <a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a> &lt;mailto:<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>&gt;<br>
<div class="">&gt;      &gt; <a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
&gt;      &gt;<br>
&gt;<br>
&gt;     --<br>
&gt;     Bill Burke<br>
&gt;     JBoss, a division of Red Hat<br>
&gt;     <a href="http://bill.burkecentral.com" target="_blank">http://bill.burkecentral.com</a><br>
&gt;     _______________________________________________<br>
&gt;     keycloak-user mailing list<br>
</div>&gt;     <a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a> &lt;mailto:<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>&gt;<br>
&gt;     <a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
<div class="HOEnZb"><div class="h5">&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; keycloak-user mailing list<br>
&gt; <a href="mailto:keycloak-user@lists.jboss.org">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>
<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">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>
</div></div></blockquote></div><br></div>