Skip to content

Commit

Permalink
fix(jans-auth-server): parse string from object (#3470)
Browse files Browse the repository at this point in the history
  • Loading branch information
Milton-Ch authored Dec 30, 2022
1 parent 2dbd1f3 commit db9b204
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,7 @@ public void setClaimFromJsonObject(String key, Object attribute) {
if (attribute instanceof JSONArray) {
claims.put(key, JsonApplier.getStringList((JSONArray) attribute));
} else {
String value = (String) attribute;
claims.put(key, value);
claims.put(key, attribute);
}
}

Expand Down

0 comments on commit db9b204

Please sign in to comment.