Browse Source

Merge branch 'develop' of gitadmin/tuoheng_oidc into release

tags/v2.3.0
gitadmin 2 years ago
parent
commit
e96fe29a76
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      tuoheng_oidc_server/src/main/java/com/tuoheng/config/IdTokenCustomizerConfig.java

+ 3
- 3
tuoheng_oidc_server/src/main/java/com/tuoheng/config/IdTokenCustomizerConfig.java View File

@@ -45,9 +45,9 @@ public class IdTokenCustomizerConfig {
.claims(claims ->
claims.put("username", context.getPrincipal().getName()))
.claims(claims ->
claims.put("oUserId", userBaseInfoDto.getUserId()))
.claims(claims ->
claims.put("clientRoleList", userBaseInfoDto.getClientRoleDtoList()));
claims.put("oUserId", userBaseInfoDto.getUserId()));
/*.claims(claims ->
claims.put("clientRoleList", userBaseInfoDto.getClientRoleDtoList()));*/
}
};
}

Loading…
Cancel
Save