diff options
author | Vitaly Takmazov | 2018-11-23 10:19:24 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-11-23 10:19:24 +0300 |
commit | 63c62a603b8d901059dbb402c2ca13ced68f3fb5 (patch) | |
tree | 90af9f8e7843dd4716a081194e6a37c6287bd2f6 /src/main/java/com/juick/server/api | |
parent | 54fe7608bb9b6547b25d8a3b23a5eada825037f1 (diff) |
Log incoming google tokens
Diffstat (limited to 'src/main/java/com/juick/server/api')
-rw-r--r-- | src/main/java/com/juick/server/api/ApiSocialLogin.java | 3 |
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(); |