Skip to content

Commit

Permalink
Fix Keycloack Authorization require body handler detection
Browse files Browse the repository at this point in the history
  • Loading branch information
gsmet committed Dec 7, 2019
1 parent 4e3664f commit 6590feb
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,10 @@ private boolean isBodyClaimInformationPointDefined(Map<String, Map<String, Strin
for (Map.Entry<String, Map<String, String>> entry : claims.entrySet()) {
Map<String, String> value = entry.getValue();

if (value.get(entry.getKey()).contains("request.body")) {
return true;
for (String nestedValue : value.values()) {
if (nestedValue.contains("request.body")) {
return true;
}
}
}

Expand Down

0 comments on commit 6590feb

Please sign in to comment.