瀏覽代碼

Merge branch 'develop' of gitadmin/tuoheng_oidc into release

tags/v2.3.0
gitadmin 2 年之前
父節點
當前提交
806f212460
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. +3
    -1
      tuoheng_oidc_server/src/main/java/com/tuoheng/config/IdTokenCustomizerConfig.java

+ 3
- 1
tuoheng_oidc_server/src/main/java/com/tuoheng/config/IdTokenCustomizerConfig.java 查看文件

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

Loading…
取消
儲存