<div dir="ltr">Please create a JIRA</div><div class="gmail_extra"><br><div class="gmail_quote">On 5 February 2016 at 16:51, Manfred Duchrow <span dir="ltr"><<a href="mailto:manfred.duchrow@caprica.biz" target="_blank">manfred.duchrow@caprica.biz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<font face="Arial">Hi,<br>
<br>
I just got a "Failed to introspect token" result when trying to
use this new endpoint.<br>
When I tried to find out what went wrong I observed that also no
additional log entry was available.<br>
Looking at the code (1.8.0.Final) of class
TokenIntrospectionEndpoint revealed that in method <br>
introspect() there is a try-catch that swallows all caught
exception information.<br>
<br>
In methods<br>
private AccessToken toAccessToken(String tokenString) <br>
private void authorizeClient()<br>
its the same pattern.<br>
A new exception gets thrown without any information about the
caught exception.<br>
<br>
You might consider opening an issue to add either some log
statements in all catch blocks of this class<br>
or propagate the exception information in the new thrown
exceptions.<br>
<br>
So currently there is no chance to find out why an introspection
request failed.<br>
<br>
Cheers,<br>
Manfred<br>
<br>
</font>
</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>