update group name length

This commit is contained in:
Jan 2025-11-17 14:06:02 +01:00
parent 35ea0da5a9
commit af0952a034
3 changed files with 10 additions and 7 deletions

View file

@ -259,11 +259,11 @@ public class SecurityConfig {
Integer userId = null; Integer userId = null;
// Debug: Print all claims // Debug: Print all claims
// System.out.println("=== ID Token Claims ==="); log.debug("=== ID Token Claims ===");
// oidcUser.getIdToken().getClaims().forEach((key, value) -> oidcUser.getIdToken().getClaims().forEach((key, value) ->
// System.out.println(key + ": " + value) log.debug("{}: {}", key, value)
// ); );
// System.out.println("======================"); log.debug("======================");
Set<GrantedAuthority> mappedAuthorities = new HashSet<>(oidcUser.getAuthorities()); Set<GrantedAuthority> mappedAuthorities = new HashSet<>(oidcUser.getAuthorities());

View file

@ -19,7 +19,7 @@ public class JwtTokenService {
private final Key signingKey; private final Key signingKey;
private final String baseUrl; private final String baseUrl;
public JwtTokenService(@Value("${jwt.secret}") String secret, @Value("${lcc.base.url}") String baseUrl) { public JwtTokenService(@Value("${jwt.secret}") String secret, @Value("${jwt.issuer}") String baseUrl) {
this.signingKey = Keys.hmacShaKeyFor(secret.getBytes(StandardCharsets.UTF_8)); this.signingKey = Keys.hmacShaKeyFor(secret.getBytes(StandardCharsets.UTF_8));
this.baseUrl = baseUrl; this.baseUrl = baseUrl;
} }

View file

@ -29,4 +29,7 @@ lcc.allowed_oauth_token_cors=*
lcc.auth.identify.by=workday lcc.auth.identify.by=workday
lcc.auth.claim.workday=employeeid lcc.auth.claim.workday=employeeid
lcc.auth.claim.email=preferred_username lcc.auth.claim.email=preferred_username
lcc.auth.claim.ignore.workday=false lcc.auth.claim.ignore.workday=false
# Bulk Import
lcc.bulk.sheet_password=secretSheet?!