<div dir="ltr">How are you getting the token in the angular js based client? Are you using keycloak.js?<div><br></div><div>You can try to verify the token at <a href="http://jwt.io">jwt.io</a> to check if it&#39;s valid.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 26 September 2016 at 06:28, 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"><div class="gmail_quote"><div dir="ltr"><span class="">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></span><div>Please help us resolving the issue. We have validated the client settings and the configs seems to be proper.</div><span class=""><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></span></div>
</div><br></div>
<br>______________________________<wbr>_________________<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/<wbr>mailman/listinfo/keycloak-user</a><br></blockquote></div><br></div>