Skip to content

Commit

Permalink
Fix username attributes for sso login
Browse files Browse the repository at this point in the history
  • Loading branch information
muralibasani committed Aug 21, 2024
1 parent 6f8d04c commit 94596b8
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,6 @@ public Authentication getAuthentication() {
return SecurityContextHolder.getContext().getAuthentication();
}

public ArrayList<String> getUserNameAttributes() {
return new ArrayList<>(List.of(preferredUsernameAttribute, emailAttribute));
}

String getAuthority(Object principal) {
if (enableUserAuthorizationFromAD) {
if (principal instanceof DefaultOAuth2User) {
Expand Down

0 comments on commit 94596b8

Please sign in to comment.