Questions tagged [spring-social-google]

Spring Social is an extension of the Spring Framework that allows you to connect your applications with Software-as-a-Service (SaaS) providers such as Facebook and Twitter.

The Spring Social Google project is an extension to the Spring Social project that enables introduction with Google APIs.

Spring Social Google enables integration with Google APIs with GoogleConnectionFactory, a connection factory that can be plugged into Spring Social's service provider connection framework, and with an API binding to Google APIs.

Related tags:

30 questions
6
votes
1 answer

Spring Boot with Spring Social Google provider

Any example how to integrate Spring Boot application with Spring Social Google (GabiAxel/spring-social-google) provider? I found this project, but it seems to be unfinished. Spring Boot explains how to get it working with Spring Facebook, Twitter,…
Zveratko
  • 2,663
  • 6
  • 35
  • 64
5
votes
3 answers

Spring Social Google - converting a one-time authorization code into an access token/ refresh token on the server

The server receives a one-time authorization code from the mobile app. I need to convert this to a spring-social access token and refresh token and save them on the server DB for later usage. My current code: String oneTimeAuthorizationCode= "xxx";…
checklist
  • 12,340
  • 15
  • 58
  • 102
3
votes
1 answer

Spring Security - Default Tables not created

I'am trying to integrate Spring Social on top of Spring Security in a Spring Boot application. But it seems like Spring Security is having issues creating the default tables, e.g. UserConnection, UserProfile, etc since I get these SQL errors after…
alsdkjasdlkja
  • 1,260
  • 2
  • 14
  • 30
3
votes
1 answer

What is required to integrate Grails with Spring Social (Facebook, Twitter and Google)

My Spring is pretty good (or certainly used to be, its been about 2 years). Grails I'm pretty new to. I would like to do 2 things. Integrate Spring Security with my Grails application. Integrate Spring Social, Facebook, Twitter and Google to allow…
2
votes
2 answers

spring social google: people API 403 Forbidden due to Legacy People API

I've got project, where I have to login through google sign in. I have created google project. Set up client/secret keys. I got to the point where I'm making post request to my web app server and sending there the…
maximus
  • 4,201
  • 15
  • 64
  • 117
2
votes
5 answers

Spring Security 5 Google OAuth2 Error - A redirect is required to get the users approval (UserRedirectRequiredException)

I am trying to implement Spring security using google's oauth server. Application is very simple. Pom.xml org.springframework.boot spring-boot-starter-parent
2
votes
1 answer

Passing extra query/form parameters through spring social

I'm building a Single Page Application using Spring Social and Spring Security generated by JHipster. I'm trying to capture the original query parameters after a user has been authenticated by some social authentication provider. Example: calling…
2
votes
0 answers

Spring social google example fails

I've cloned spring social google example. Tried it start with specified google account following README.md but it unfortunately started with fails. I used command: mvn tomcat7:run -Dgoogle.clientId=MY_APP_CLIENT_ID…
Sergii
  • 7,044
  • 14
  • 58
  • 116
2
votes
1 answer

Spring Social Login: How to add more than one app of the same social provider (f.e. Facebook)?

My Spring MVC web application is serving simultanously three different web shops with three different domains (let's call them domain1.com, domain2.com and domain3.com). For each of these shops I need to offer an own Social Login (with custom login…
2
votes
1 answer

How to configure callback URL in spring social configuration

I am using spring social login. I need to configure a callback URL. By default it is taking localhost as callback URL. I tried with ProviderSignInController.setApplicationUrl() method. but the changes are not reflecting. I am using the same code…
Aman Agrawal
  • 95
  • 1
  • 1
  • 10
2
votes
1 answer

Caused by: java.lang.NoSuchMethodError: org.springframework.web.bind.annotation.RequestMapping.path()[Ljava/lang/String;

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0': Invocation of init method failed; nested exception is…
2
votes
0 answers

How to check for the expired access token in spring social

I want to check whether the access token is expired or not using spring social. Because i want to get refresh token from google plus api if it is expired.
Ruby Kannan
  • 251
  • 1
  • 6
2
votes
0 answers

Multiple Social Logins with spring

I have multiple WebSecurityConfigurerAdapters in my webapp one for each part of the app and need to have multiple "login with FB/Google" buttons with different behaviours. I have been trying to configure multiple SpringSocialConfigurers one per each…
2
votes
1 answer

How to recover from a Spring Social ExpiredAuthorizationException

I am trying to implement Google Oauth2 with Spring Social and spring-social-google. Initial authentication works fine. However after some time the authentication expires and I am hit by org.springframework.social.ExpiredAuthorizationException: The…
Kees de Kooter
  • 7,078
  • 5
  • 38
  • 45
1
vote
0 answers

Spring Social After succesfull login redirect problem

I configured my spring boot application for social login with this documentation. Application started and I have logined with my gmail account. There is no problem thus far. But when I login with a gmail account my app is not getting user infos.…
1
2