Questions tagged [spring-social]

Spring Social is an extension of the Spring Framework that enables applications to connect with Software-as-a-Service providers such as Twitter, Facebook and other OAuth authentication based APIs. Spring Social provides a ready to use OAuth authentication framework for web based applications.

Spring Social is an extension of the Spring Framework that enables applications to connect with Software-as-a-Service providers such as Twitter, Facebook and other OAuth authentication based APIs. Spring Social provides a ready to use OAuth authentication framework for web based applications.

Features:

  • An extensible service provider framework that greatly simplifies the process of connecting local user accounts to hosted provider accounts.
  • A connect controller that handles the authorization flow between your Java/Spring web application, a service provider, and your users.
  • Java bindings to popular service provider APIs such as Facebook, Twitter, LinkedIn, TripIt, and GitHub.
  • A sign-in controller that enables users to authenticate with your application by signing in through a service provider.
  • Much more...

More Information:

Getting Started Guides:

Related Tags:

714 questions
7
votes
2 answers

Location not populated on Spring Social Facebook

I'm trying to get user location in Spring Social Facebook: Facebook fb = ((Facebook) connection.getApi()); Page pg = fb.pageOperations().getPage(fb.userOperations().getUserProfile().getLocation().getId()); The problem is that pg.getLocation()…
Adrian Ber
  • 20,474
  • 12
  • 67
  • 117
7
votes
2 answers

Spring Social: "Unable to get a ConnectionRepository: no user signed in"

I'm trying to use Facebook sign in as described in https://github.com/spring-guides/gs-accessing-facebook When I'm trying to create JdbcUsersConnectionRepository, I need spring security in class path. And when I add spring security I…
7
votes
1 answer

Should I use both SocialAuthenticationFilter and ProviderSignInController together

In Short Authentication events are not fired when using ProviderSigninController. How can I use the full spring security integration? Long Version To the best of my understanding I have a functional Spring-social setup working as…
7
votes
0 answers

Login flow from mobile app on web server with Facebook Oauth

I have a web application built with Spring and spring security that allows user to register ether via Facebbok or creating an account, in both cases an web app account is created. So the 2 registering methods are the following:: Registering…
ddelizia
  • 1,571
  • 5
  • 30
  • 54
6
votes
2 answers

How do you autowire/inject your datasource in Spring-boot?

I have been working with Spring boot for a bit now, and the datasource is always configured in your application.properties in every example I have seen, kind of like this: # DataSource…
fun_hat
  • 547
  • 2
  • 7
  • 25
6
votes
1 answer

Adding social login to native apps using spring security oauth

I've been following this link https://spring.io/guides/tutorials/spring-boot-oauth2 for implementing security to my own resource server. My final goal was to have custom login oauth server to access resource server from an android app which I've…
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
6
votes
3 answers

Working example of Spring Social Facebook login except the sample applications on github

Please can somebody share links of working example of Spring Social Facebook login except the sample applications on git hub that are provided by Spring Social people themselves. Especially if there is any sample code without the use of a database…
6
votes
0 answers

AngularJS + spring-social SSO + endpoint API authentication

What's the simplest way to do the following in an AngularJS with spring-boot backend application: Allow end-users to authenticate using a social SSO such as Twitter, and once authenticated use their authentication token to authenticate to my own…
Raz Yalov
  • 61
  • 1
  • 3
6
votes
1 answer

How do I setup login service for Spring-social and spring-security over a REST API?

I want to have a JS application in on client-side (no jsps) that will communicate with back-end only with REST calls. I want also to enable users to be able to login with FB, Twitter accounts. In addition, I also want to enable users to register…
Adam Soliński
  • 444
  • 1
  • 8
  • 19
6
votes
2 answers

How to set redirect url after success login using Social Providers

I need change the redirect url when my user is succefull logged in using some of Spring Social Providers, like Twitter in this case. I'm getting in every set***Url("") a null pointer exception Some times setting this don't work too I tried so far…
Joao Evangelista
  • 2,407
  • 2
  • 26
  • 37
6
votes
1 answer

Spring Social facebook + Spring Security

I want to integrate Spring Social facebook into my application with Spring Security (I use xml configurations). All I need is just connect facebook account with my app's account. In simple example I found this:
chaldaean
  • 1,222
  • 2
  • 13
  • 24
6
votes
2 answers

SpringSocial XML Configuration Schema Error

I tried the Spring Social Showcase using XML but it appears to have an error in the XML. The XML file is not working. I have read x marks on line 23 to 27.
6
votes
3 answers

Spring-Social Sign-In without Sign-up

I have recently started using Spring-Social. In all the samples I am looking at there is the process of sign-in by clicking the image of "Connect with Facebook" and then being redirected to a page where you need to sign-up to the actual website you…
user1782427
  • 770
  • 1
  • 8
  • 19
6
votes
2 answers

Spring Social - 404 error for facebook login

I have spring 3.1 with spring security login in my app. I am trying to add facebook login using spring social to it. It goes to the facebook login page but post log in it throws a 404 error. I have this in the…
shazinltc
  • 3,616
  • 7
  • 34
  • 49
1 2
3
47 48