瀏覽代碼

Merge branch 'develop' of gitadmin/tuoheng_oidc into release

tags/v2.3.0
gitadmin 2 年之前
父節點
當前提交
49fb41ccb5
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      tuoheng_oidc_server/src/main/java/com/tuoheng/service/impl/OidcUserInfoServiceImpl.java

+ 2
- 2
tuoheng_oidc_server/src/main/java/com/tuoheng/service/impl/OidcUserInfoServiceImpl.java 查看文件

@@ -31,8 +31,8 @@ public class OidcUserInfoServiceImpl implements OidcUserInfoService {
if (scopes.contains(OidcScopes.PROFILE)) {
builder.claim("userId", userBaseInfoDto.getUserId())
.claim("userName", userBaseInfoDto.getUserName())
.claim("authority", userBaseInfoDto.getAuthorityList())
.claim("clientRoleList", userBaseInfoDto.getClientRoleDtoList());
.claim("authority", userBaseInfoDto.getAuthorityList());
//.claim("clientRoleList", userBaseInfoDto.getClientRoleDtoList().toString());
}
/*if (scopes.contains(OidcScopes.EMAIL)) {
builder.email(name + "@163.com").emailVerified(true);

Loading…
取消
儲存