<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body 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>
</body>
</html>