From dc746c350ba4f53c8d65ac0a1a0ac4ceb4c0753d Mon Sep 17 00:00:00 2001 From: xhaktmchl Date: Thu, 17 Nov 2022 17:48:32 +0900 Subject: [PATCH] =?UTF-8?q?#5=20feat:=20servicesRedirect=EC=97=90=20servic?= =?UTF-8?q?eResponse=20=EC=B6=9C=EB=A0=A5=20=EC=BD=94=EB=93=9C=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../server/applelogin/controller/AppleController.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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); }