Skip to content

Commit

Permalink
Merge pull request #45 from YogitTeam/appleLogin1
Browse files Browse the repository at this point in the history
#5 feat: servicesRedirect에 serviceResponse 출력 코드 추가
  • Loading branch information
xhaktmchl authored Nov 17, 2022
2 parents 289204d + dc746c3 commit fd74de2
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit fd74de2

Please sign in to comment.