diff --git a/src/main/java/org/example/commerce_site/config/SecurityConfig.java b/src/main/java/org/example/commerce_site/config/SecurityConfig.java index baf0760..c68a9cb 100644 --- a/src/main/java/org/example/commerce_site/config/SecurityConfig.java +++ b/src/main/java/org/example/commerce_site/config/SecurityConfig.java @@ -70,8 +70,6 @@ private Collection extractAuthorities(Jwt jwt) { var roles = (Map)resourceAccess.get("oauth2-client-app"); if (roles != null) { - log.info(roles.toString()); - var roleList = (List)roles.get("roles"); return roleList.stream() .map(role -> new SimpleGrantedAuthority(role))