Fixed right method use to test `active` field in token introspection response

This commit is contained in:
Mauro Mugnaini 2022-05-20 10:15:34 +02:00
parent 6ebb6c6616
commit d6316c837d
1 changed files with 1 additions and 1 deletions

View File

@ -473,7 +473,7 @@ public class DefaultKeycloakClient implements KeycloakClient {
public boolean isAccessTokenVerified(URL introspectionURL, String clientId, String clientSecret,
String accessTokenJWTString) throws KeycloakClientException {
return introspectAccessToken(introspectionURL, clientId, clientSecret, accessTokenJWTString).isActive();
return introspectAccessToken(introspectionURL, clientId, clientSecret, accessTokenJWTString).getActive();
}
}