30
questions
1
vote
0
answers
60
views
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 ...
1
vote
1
answer
140
views
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-...
2
votes
2
answers
2k
views
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 ...
1
vote
0
answers
60
views
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 ...
2
votes
5
answers
11k
views
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
<parent>
<groupId>org.springframework.boot</groupId>
<...
0
votes
1
answer
135
views
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 ...
2
votes
1
answer
681
views
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 ...
1
vote
0
answers
352
views
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 ...
1
vote
0
answers
237
views
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 ...
2
votes
0
answers
89
views
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=...
2
votes
1
answer
186
views
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 ...
1
vote
1
answer
1k
views
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 ...
2
votes
1
answer
1k
views
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 ...
0
votes
1
answer
682
views
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 ...
0
votes
2
answers
1k
views
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 ...
0
votes
1
answer
1k
views
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:...
0
votes
1
answer
785
views
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, ...
0
votes
1
answer
1k
views
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 ...
0
votes
1
answer
433
views
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:
<dependency>
&...
0
votes
2
answers
748
views
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 ...
3
votes
2
answers
10k
views
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 ...
6
votes
1
answer
2k
views
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 ...
3
votes
1
answer
2k
views
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, ...
2
votes
0
answers
178
views
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.
2
votes
0
answers
327
views
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 ...
5
votes
3
answers
2k
views
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 ...
1
vote
1
answer
2k
views
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 ...
1
vote
0
answers
240
views
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
(...
3
votes
1
answer
694
views
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 ...
2
votes
1
answer
924
views
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....