Fixed right method use to test `active` field in token introspection response
This commit is contained in:
parent
6ebb6c6616
commit
d6316c837d
|
@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue