aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/juick/server/api/ApiSocialLogin.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/com/juick/server/api/ApiSocialLogin.java b/src/main/java/com/juick/server/api/ApiSocialLogin.java
index e46dd5c4..54a5d1bb 100644
--- a/src/main/java/com/juick/server/api/ApiSocialLogin.java
+++ b/src/main/java/com/juick/server/api/ApiSocialLogin.java
@@ -292,7 +292,8 @@ public class ApiSocialLogin {
@PostMapping("/api/_google")
public IdToken.Payload googleSignIn(@RequestParam(name = "idToken") String idTokenString)
throws GeneralSecurityException, IOException {
-
+ logger.info("Token: {}", idTokenString);
+ logger.info("Clients: {}", googleClientIds);
GoogleIdToken idToken = verifier.verify(idTokenString);
if (idToken != null) {
return idToken.getPayload();