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
10
votes
1 answer

Spring Boot: Secured RESTful API using Spring Social and Spring Security

I am trying to define and secure a RESTful API using Spring Boot. Ideally, I would like to use Spring Social and allow clients (web and mobile) to login via Facebook. What is working So far, I managed to have a working API using @RestController and…
10
votes
2 answers

Spring Security authentication/authorization via REST endpoint

In my Spring Boot application with RESTful webservices I have configured Spring Security together with Spring Social and SpringSocialConfigurer. Right now I have two ways of authentication/authorization - via username/password and via social…
alexanoid
  • 24,051
  • 54
  • 210
  • 410
9
votes
3 answers

What could cause the original 'OAuth2' state parameter to be null in org.springframework.social.connect.web.ConnectSupport?

I am trying to use Spring Social on my application and I noticed while debugging that the original 'OAuth2' state parameter is always null on my app. See Spring Social source code for org.springframework.social.connect.web.ConnectSupport…
balteo
  • 23,602
  • 63
  • 219
  • 412
9
votes
4 answers

Spring-Social/Twitter -- ConnectController doesn't respond to /connect?

OK so I've been pulling my hair for ages now (at least so it seems!) trying to figure out what i'm doing wrong: I have a Java project in which I want to allow users who log in (via normal Spring-Security JDBC enabled repository) to grant access to…
Liv
  • 6,006
  • 1
  • 22
  • 29
9
votes
1 answer

Heroku with H2 Database

This is related to running Craig Walls Spring Social Showcase on Heroku. This application runs fine locally using an H2 in memory database. When I deploy to Heroku, however, the database no longer works. Is there something else that needs to be…
John Borys
  • 93
  • 1
  • 4
8
votes
3 answers

What are the main differences between Socialauth, Scribe-Java, and Spring Social?

I am new to OAuth, but want to find a good way to start, and use a library that has wide support What are the benefits and disadvantages of the following (there are probably more, but these are the Java based that I have found so…
Eran Medan
  • 44,555
  • 61
  • 184
  • 276
8
votes
2 answers

Spring Boot OAuth2 linking internal users with Facebook/Google login

I have implemented a Spring Boot application with AngularJS frontend. Have also setup users along with their permissions. Right now I am able to login with any of these users and is working well with Spring security. I would like to turn this…
8
votes
1 answer

How can I social login by jHipster REST api?

I want use jHipster for native mobile app backend. I can register and login through api REST perfectly. But, how I do a social login through api? I cant find any endpoint Thanks!
Dan
  • 91
  • 4
8
votes
0 answers

spring-social-github can't get user email

I'm using spring-social/spring-social-github in order to authenticate user through GitHub in my Spring Boot web application. In order to sign in user I have created following html form:
alexanoid
  • 24,051
  • 54
  • 210
  • 410
8
votes
1 answer

Looking for the right way: Spring Social + Spring RESTful API + Spring WebApp + Mobile Clients

I have a RESTful API built with Spring 3.1, using Spring Security as well. I have a web application, also a Spring 3.1 MVC application. I am planning to have mobile clients accessing my REST API. So my API is the central place to authenticate, get…
8
votes
1 answer

What is the difference between ConnectController and ProviderSigninController in spring-social?

I am new to spring-social framework and trying to implement the login functionality for my portal using spring-social. I read the documentation but i am still a little confused. Both controllers are used to establish a connection with the service…
user2138493
  • 135
  • 1
  • 5
8
votes
2 answers

How-to configure Spring Social via XML

I spend a few hours trying to get Twitter integration to work with Spring Social using the XML configuration approach. All the examples I could find on the web (and on stackoverflow) always use the @Config approach as shown in the samples For…
7
votes
2 answers

Spring Social Twitter Oauth

I want to use spring social to develop an twitter app which will update status and upload photos.I am not able to understand how to do Oauth authentication using Spring social.All examples I saw talks about hardcoding the accesstoken which would…
7
votes
1 answer

SSO for Facebook integration

Is it possible to have Single Sign On feature for Facebook integration from other application? As Facebook uses OAuth 2.0 it seems client and resource owners both needs to be authenticated as token have limited lifetime. Reason I want to have this…
Shishir
  • 805
  • 6
  • 6
7
votes
0 answers

Spring Social The OAuth2 'state' parameter is missing or doesn't match?

I am developing a mobile application using Jhipster and Jhipster-ionic along with cordova. Currently, I am using Token-based AngularJS Authentication (Satellizer) to Login with OAuth 2.0 and I have an issue with Spring Social, this is the exception…
foboss
  • 430
  • 4
  • 14
1
2
3
47 48