From ce618d557d65e15eaacc5b09f114ce7b9ccdbd81 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 28 Mar 2019 23:54:57 +0300 Subject: update deps --- src/main/java/com/juick/server/api/ApiSocialLogin.java | 4 ++-- src/main/java/com/juick/server/www/controllers/SocialLogin.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/main/java/com') diff --git a/src/main/java/com/juick/server/api/ApiSocialLogin.java b/src/main/java/com/juick/server/api/ApiSocialLogin.java index be306fe9..efc2e288 100644 --- a/src/main/java/com/juick/server/api/ApiSocialLogin.java +++ b/src/main/java/com/juick/server/api/ApiSocialLogin.java @@ -121,11 +121,11 @@ public class ApiSocialLogin { facebookAuthService = facebookBuilder .apiSecret(FACEBOOK_SECRET) .callback(FACEBOOK_REDIRECT) - .scope("email") + .defaultScope("email") .build(FacebookApi.instance()); vkAuthService = vkBuilder .apiSecret(VK_SECRET) - .scope("friends,wall,offline") + .defaultScope("friends,wall,offline") .callback(VK_REDIRECT) .build(VkontakteApi.instance()); } diff --git a/src/main/java/com/juick/server/www/controllers/SocialLogin.java b/src/main/java/com/juick/server/www/controllers/SocialLogin.java index 59b1ec0b..35d3c1f8 100644 --- a/src/main/java/com/juick/server/www/controllers/SocialLogin.java +++ b/src/main/java/com/juick/server/www/controllers/SocialLogin.java @@ -111,11 +111,11 @@ public class SocialLogin { facebookAuthService = facebookBuilder .apiSecret(FACEBOOK_SECRET) .callback(facebookRedirectUri) - .scope("email") + .defaultScope("email") .build(FacebookApi.instance()); vkAuthService = vkBuilder .apiSecret(VK_SECRET) - .scope("friends,wall,offline") + .defaultScope("friends,wall,offline") .callback(VK_REDIRECT) .build(VkontakteApi.instance()); } -- cgit v1.2.3