diff --git a/server/src/main/java/com/yogit/server/applelogin/controller/AppleController.java b/server/src/main/java/com/yogit/server/applelogin/controller/AppleController.java index 86930ab..8cc1501 100644 --- a/server/src/main/java/com/yogit/server/applelogin/controller/AppleController.java +++ b/server/src/main/java/com/yogit/server/applelogin/controller/AppleController.java @@ -80,13 +80,19 @@ public TokenResponse servicesRedirect(ServicesResponse serviceResponse) throws N String client_secret = appleService.getAppleClientSecret(serviceResponse.getId_token()); logger.debug("================================"); - System.out.println("state 값은 : "+serviceResponse.getState()); - System.out.println("user 값은: " + serviceResponse.getUser()); logger.debug("id_token ‣ " + serviceResponse.getId_token()); logger.debug("payload ‣ " + appleService.getPayload(serviceResponse.getId_token())); logger.debug("client_secret ‣ " + client_secret); logger.debug("================================"); + System.out.println("================================"); + System.out.println("state 값은 : "+serviceResponse.getState()); + System.out.println("user 값은: " + serviceResponse.getUser()); + System.out.println("id_token ‣ " + serviceResponse.getId_token()); + System.out.println("payload ‣ " + appleService.getPayload(serviceResponse.getId_token())); + System.out.println("client_secret ‣ " + client_secret); + System.out.println("================================"); + return appleService.requestCodeValidations(client_secret, code, null); }