<p dir="ltr">We are using keycloak 1.9.2 final version. The token would have got expired by now but it was valid when the api call was fired.</p>
<p dir="ltr">Do you mean client keys set in keycloak.json?</p>
<p dir="ltr">Regards,<br>
Ganga Lakshmanasamy</p>
<div class="gmail_extra"><br><div class="gmail_quote">On Sep 21, 2016 2:28 PM, &quot;Stian Thorgersen&quot; &lt;<a href="mailto:sthorger@redhat.com">sthorger@redhat.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">What version? Is the realm keys configured correctly? Is the token still valid?</div><div class="gmail_extra"><br><div class="gmail_quote">On 21 September 2016 at 06:25, Ganga Lakshmanasamy <span dir="ltr">&lt;<a href="mailto:lganga14@gmail.com" target="_blank">lganga14@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">Hi,<div><br></div><div>We are getting the &quot;NOT_ATTEMPTED: bearer only&quot; error while trying to access our backend rest service which has access type as bearer only from our public angular js based client. </div><div>We are setting the &quot;Authorization&quot; header in our request but looks like the adapter is not able to recognize the header with the bearer token.</div><div><br></div><div>Please help us resolving the issue.</div><div><br></div><div><b>Note</b>: We are able to invoke the rest services with same bearer token from other rest clients like post man and advanced rest client for chrome. The issue comes up only when we try from our angular js code.</div><div><br></div><div>Regards,</div><div>Ganga Lakshmanasamy</div></div>
<br>______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">https://lists.jboss.org/mailma<wbr>n/listinfo/keycloak-user</a><br></blockquote></div><br></div>
</blockquote></div></div>