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
1
vote
1 answer

Spring Social Login with Broadleaf

I am looking to provide the Facebook and Gmail login on Broadleaf application for which i am referring the below mentioned link https://www.broadleafcommerce.com/blog/why-your-ecommerce-site-should-integrate-with-spring-social however the link is…
1
vote
0 answers

Why is enabling Google+ API in Google Console neccessary for Spring Social Google - version 1.0.0 RELEASE?

It's a spring boot project that uses spring social dependencies for configuring Google sso. When using one version of spring-social-google it works perfectly, upon updating the version it stops working. I've used Spring Social Google version 1.0.0…
1
vote
0 answers

Spring Social Security error

I'm using Spring Social Security in XML notation to authenticate users into my website with Google and Facebook. Everything works fine but after a couple of hours it stops working and users can't authenticate using the social login. I don't know why…
1
vote
0 answers

Can't login with another facebook (or google) user in spring social

I'm implementing spring-social-facebook and spring-social-google. So far I've managed to login and logout user, persist it with my DB etc. So everything is working as expected. But when I'm login out and then trying to login with a different…
1
vote
1 answer

Spring Social Google used as Sign in Provider fails with 403 after successful Oauth2 login

I need to use both Facebook and Google as OpenId Sing in providers. I have integrated them with Spring Security using the SocialAuthenticationFilter, as described in the documentation and having a look at the sample app. I have sucessfully…
1
vote
1 answer

Which are the correct Google+ scope variables to get email address and to post?

I'm using spring-social-google (built from the git repo) to allow people to sign into my Spring MVC application (I already have facebook, twitter and linedin working). The form below allows me to authenticate, but an email address is not returned…
Paul Grenyer
  • 1,713
  • 3
  • 30
  • 51
1
vote
0 answers

google+ operations throws exception with spring social google

The method plusOperations().getPerson(googleId) generates the following exception: Could not read JSON: No enum const class org.springframework.social.google.api.plus.Person$UrlType.CONTRIBUTOR (through reference chain: …
user2921591
  • 51
  • 1
  • 1
  • 6
0
votes
1 answer

Use token received from JavaScript client to create a social connection on the server

I have a webpage using PHP/JavaScript that can successfully do the Google Signin process on the client side. I would like to then forward the obtained token to the backend which uses Spring-Social to create a social connection and be able to call on…
0
votes
1 answer

How do you download a file with spring social google?

I'm attempting to use the spring social google library with the driveOperations() implementation. Whenever I attempt to download a file, I get an error. I've even tried to download publicly shared files with no success. Authentication is working.…
Lucas Holt
  • 3,826
  • 1
  • 32
  • 41
0
votes
2 answers

Spring social Google

I have been developing Spring Social Google access using Spring Boot. When I am configuring application.properties I am unable to find any metadata of google in spring social. Like there is metadata for facebook, twitter and linkedin. Then How…
Jarvis0809
  • 11
  • 1
  • 5
0
votes
1 answer

How to specify redirect uri using spring social google signin?

I am using spring social google sign in to login to my spring mvc based web application. When I try to signin using google I get following error. The redirect URI in the request, http://localhost:8080/gen/auth/google, does not match the ones…
ajm
  • 12,863
  • 58
  • 163
  • 234
0
votes
1 answer

Multiple web security causing ERR_TOO_MANY_REDIRECTS

I'm trying to configure Spring Security via Java Config to handle two kinds of authentication on my app: form based (user login) and token based (REST api). The form configuration is straighforward, except the part where I had to create my own…
Matheus Moreira
  • 2,338
  • 4
  • 24
  • 31
0
votes
1 answer

spring-social-google authentication does not redirect to register form page

I want to add Google Plus flavor to the code included in this Tutorial, however while signing in I get the following warning message from Log4J. WARN - RestTemplate - GET request for "https://www.googleapis.com/plus/v1/people/me"…
0
votes
1 answer

Spring Social Google - maven dependency not found

I cannot find maven dependency for spring-social-google (https://github.com/GabiAxel/spring-social-google). According to the documentation the dependency is defined like that: org.springframework.social
Damian
  • 593
  • 6
  • 27
0
votes
2 answers

How to get providerUserId by providerId, accessToken and secret? (Spring Social)

In my application I can identify user by providerId and providerUserId. But initially, I have only following information: providerId, accessToken, secret. Thus, I need to acquire providerUserId by this information. I'm trying to use following…
1
2