Skip to content

Commit 3e6776b

Browse files
committed
feat: add debug output for OIDC mapping granted authorities
1 parent 504f519 commit 3e6776b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

backend/src/main/java/eu/zuinnote/example/springwebdemo/configuration/SecurityConfigurationOidc.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,11 @@ public GrantedAuthoritiesMapper userAuthoritiesMapper() {
105105
}
106106
}
107107
});
108-
108+
if (this.log.isDebugEnabled()) {
109+
for (GrantedAuthority grantedAuthority : mappedAuthorities) {
110+
this.log.debug("Found authority {}", grantedAuthority.getAuthority());
111+
}
112+
}
109113
return mappedAuthorities;
110114
};
111115
}

0 commit comments

Comments
 (0)