diff --git a/server/src/main/java/com/yogit/server/applelogin/model/Account.java b/server/src/main/java/com/yogit/server/applelogin/model/Account.java index f29b7b1..014675b 100644 --- a/server/src/main/java/com/yogit/server/applelogin/model/Account.java +++ b/server/src/main/java/com/yogit/server/applelogin/model/Account.java @@ -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; // 유저 필수정보 입력 여부 diff --git a/server/src/main/java/com/yogit/server/applelogin/service/AppleServiceImpl.java b/server/src/main/java/com/yogit/server/applelogin/service/AppleServiceImpl.java index e8727c1..2e45969 100644 --- a/server/src/main/java/com/yogit/server/applelogin/service/AppleServiceImpl.java +++ b/server/src/main/java/com/yogit/server/applelogin/service/AppleServiceImpl.java @@ -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 설정