Skip to content

Commit

Permalink
Address comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
JeethJJ committed Nov 27, 2024
1 parent f74079c commit a9809c0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ private String getGroupsClaimURI(JsAuthenticatedUser user) {

if (groupsClaimURI == null && (user.getContext().getCurrentAuthenticator() != null &&
OPENIDCONNECT_AUTHENTICATOR_NAME.equals(user.getContext().getCurrentAuthenticator())) ||
(previousAuthenticatedIdPs != null && previousAuthenticatedIdPs.containsKey(federatedIdPName) &&
(federatedIdPName != null && previousAuthenticatedIdPs != null &&
previousAuthenticatedIdPs.containsKey(federatedIdPName) &&
previousAuthenticatedIdPs.get(federatedIdPName).getAuthenticators().get(0).getName()
.equals(OPENIDCONNECT_AUTHENTICATOR_NAME))) {
groupsClaimURI = DEFAULT_OIDC_GROUPS_CLAIM_URI;
Expand Down

0 comments on commit a9809c0

Please sign in to comment.