@@ -127,7 +127,7 @@ public class ThirdServiceImpl implements ThirdService { | |||
tokenResult.setSub(result.getUserName()); | |||
tokenResult.setUserId(result.getUserId()); | |||
tokenResult.setUserName(result.getUserName()); | |||
ProfileResult profile = tokenResult.getProfile(); | |||
ProfileResult profile = new ProfileResult(); | |||
BeanUtils.copyProperties(tokenResult,profile); | |||
profile.setAuthority(authorityList); | |||
profile.setClientRoleList(clientRoleDtoList); |