NPE when using authorization grants with setUseJwtFormatForAccessTokens
@@ -110,7 +110,7 @@ public abstract class AbstractGrantHandler implements AccessTokenGrantHandler {
UserSubject subject,
String requestedGrant,
List<String> requestedScopes) {
- return doCreateAccessToken(client, subject, requestedGrant, requestedScopes, null);
+ return doCreateAccessToken(client, subject, requestedGrant, requestedScopes, Collections.emptyList());
}
protected ServerAccessToken doCreateAccessToken(Client client,
