|
|
@@ -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().toString()); |
|
|
|
.claim("authority", userBaseInfoDto.getAuthorityList()) |
|
|
|
.claim("clientRoleList", userBaseInfoDto.getClientRoleDtoList()); |
|
|
|
} |
|
|
|
/*if (scopes.contains(OidcScopes.EMAIL)) { |
|
|
|
builder.email(name + "@163.com").emailVerified(true); |