update group name length
This commit is contained in:
parent
35ea0da5a9
commit
af0952a034
3 changed files with 10 additions and 7 deletions
|
|
@ -259,11 +259,11 @@ public class SecurityConfig {
|
|||
Integer userId = null;
|
||||
|
||||
// Debug: Print all claims
|
||||
// System.out.println("=== ID Token Claims ===");
|
||||
// oidcUser.getIdToken().getClaims().forEach((key, value) ->
|
||||
// System.out.println(key + ": " + value)
|
||||
// );
|
||||
// System.out.println("======================");
|
||||
log.debug("=== ID Token Claims ===");
|
||||
oidcUser.getIdToken().getClaims().forEach((key, value) ->
|
||||
log.debug("{}: {}", key, value)
|
||||
);
|
||||
log.debug("======================");
|
||||
|
||||
Set<GrantedAuthority> mappedAuthorities = new HashSet<>(oidcUser.getAuthorities());
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ public class JwtTokenService {
|
|||
private final Key signingKey;
|
||||
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.baseUrl = baseUrl;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,4 +29,7 @@ lcc.allowed_oauth_token_cors=*
|
|||
lcc.auth.identify.by=workday
|
||||
lcc.auth.claim.workday=employeeid
|
||||
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?!
|
||||
Loading…
Add table
Reference in a new issue