Skip to content

Commit

Permalink
Merge pull request #182 from 1223v/login
Browse files Browse the repository at this point in the history
Fix: 애플 oauth json 파싱 객체 id_token 수정
  • Loading branch information
1223v authored Feb 28, 2024
2 parents c49e6cc + d5ce867 commit 5783e42
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public OAuth2User loadUser(OAuth2UserRequest userRequest) throws OAuth2Authentic
// Apple 로그인의 경우 JWT 토큰에서 사용자 정보를 디코드
String idToken = userRequest.getAdditionalParameters().get("id_token").toString();
attributes = decodeJwtTokenPayload(idToken);

attributes.put("id_token", idToken);
// socialType에 따라 유저 정보를 통해 OAuthAttributes 객체 생성
OAuthAttributes extractAttributes = OAuthAttributes.of(socialType, userNameAttributeName, attributes);

Expand Down

0 comments on commit 5783e42

Please sign in to comment.