Skip to content

Commit 9f02b95

Browse files
authored
Merge pull request #167 from 1223v/login
Fix: 애플로그인 Attributes user 수정
2 parents 2f19a88 + faa98ea commit 9f02b95

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/readyvery/readyverydemo/security/oauth2/service/CustomOAuth2UserService.java

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ public OAuth2User loadUser(OAuth2UserRequest userRequest) throws OAuth2Authentic
5353
Map<String, Object> attributes = oAuth2User.getAttributes(); // 소셜 로그인에서 API가 제공하는 userInfo의 Json 값(유저 정보들)
5454

5555
// socialType에 따라 유저 정보를 통해 OAuthAttributes 객체 생성
56+
System.out.println("attributes = " + attributes);
5657
OAuthAttributes extractAttributes = OAuthAttributes.of(socialType, userNameAttributeName, attributes);
5758

5859
UserInfo createdUser = getUser(extractAttributes, socialType); // getUser() 메소드로 User 객체 생성 후 반환

0 commit comments

Comments
 (0)