fixed issue in checking already existing claim values
@@ -291,7 +291,7 @@ public class DefaultPostAuthenticationHandler implements PostAuthenticationHandl
StringBuilder missingClaimsString = new StringBuilder();
for (Map.Entry<String, String> entry : mandatoryClaims.entrySet()) {
- if (mappedAttrs.get(entry.getValue()) == null) {
+ if (mappedAttrs.get(entry.getKey()) == null) {
missingClaimsString.append(entry.getKey());
missingClaimsString.append(",");
}
