aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/www/api
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-04-19 20:47:00 +0300
committerGravatar Vitaly Takmazov2022-05-12 11:08:36 +0300
commit822af5ae3bda15b0d74100201dc4fca10d12d2c8 (patch)
tree8508d108d101eb9bac5385a234f8c3e0b78ae990 /src/main/java/com/juick/www/api
parent9af778fc2d1ffac142628da4f9e2fd027dbfec7c (diff)
Apple sign-in: log JWT token
Diffstat (limited to 'src/main/java/com/juick/www/api')
-rw-r--r--src/main/java/com/juick/www/api/ApiSocialLogin.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/www/api/ApiSocialLogin.java b/src/main/java/com/juick/www/api/ApiSocialLogin.java
index 02f16676f..ccb9f9235 100644
--- a/src/main/java/com/juick/www/api/ApiSocialLogin.java
+++ b/src/main/java/com/juick/www/api/ApiSocialLogin.java
@@ -276,7 +276,7 @@ public class ApiSocialLogin {
OAuth2AccessToken token = appleSignInService.getAccessToken(body.get("code"));
var jsonNode = jsonMapper.readTree(token.getRawResponse());
var idToken = jsonNode.get("id_token").textValue();
-
+ logger.info("Token: {}", idToken);
AppleSignInApi api = (AppleSignInApi) appleSignInService.getApi();
var email = api.validateToken(idToken);