Skip to content

Commit

Permalink
Authz-client: fix ClassCast Exception when getting resource permissions
Browse files Browse the repository at this point in the history
(keycloak#27483)

Signed-off-by: Clemens Zagler <c.zagler@noi.bz.it>
  • Loading branch information
clezag authored and pedroigor committed Mar 4, 2024
1 parent 4fc7e3d commit dca50bb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ public List<Permission> getPermissions(final AuthorizationRequest request) throw

if (request.getMetadata() == null) {
metadata = new AuthorizationRequest.Metadata();
request.setMetadata(metadata);
} else {
metadata = request.getMetadata();
}
Expand Down

0 comments on commit dca50bb

Please sign in to comment.