Skip to content

Commit

Permalink
Merge pull request #115 from YogitTeam/feat/report
Browse files Browse the repository at this point in the history
#5 fix: 애플 회원가입 반환Account의 id_token필드 중복으로 삭제
  • Loading branch information
xhaktmchl authored Jan 5, 2023
2 parents 15fd6a7 + c1a79c0 commit 94e1a75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class Account {

private String state;
private String code; // authorization_token
private String id_token; // identity_token
//private String id_token; // identity_token
private JSONObject user; // 애플에서 제공하는 유저 정보
private String identifier;
private Boolean hasRequirementInfo; // 유저 필수정보 입력 여부
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ else if (client_secret != null && code == null && refresh_token != null) {
tokenResponse = appleUtils.validateAnExistingRefreshToken(client_secret, refresh_token);
}

tokenResponse.setAccount(new Account(serviceResponse.getState(), code, serviceResponse.getId_token(), user, serviceResponse.getIdentifier(), serviceResponse.getHasRequirementInfo()));
tokenResponse.setAccount(new Account(serviceResponse.getState(), code, user, serviceResponse.getIdentifier(), serviceResponse.getHasRequirementInfo()));
tokenResponse.setUserType(UserType.APPLE.toString());

// userId 설정
Expand Down

0 comments on commit 94e1a75

Please sign in to comment.