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

Spring Social Rember me login

How can I get Spring Social to have a remember me function using facebook and twitter login that's similar to remember-me login using form based login in Spring Security? I'm using Spring Social 1.0.0.RC2 and Spring Security 3.0.5.RELEASE. Thanks
2Real
  • 4,321
  • 4
  • 23
  • 27
5
votes
0 answers

How to validate mobile app facebook/google access token on spring boot 2.0 OAuth2 Authorization server?

I'm trying to validate Android/iOS client phone number or email address using Facebook Account-Kit service. I'm not sure how to validate the authorization code or access token with spring boot based back-end server and return the my own access…
5
votes
2 answers

How to sign up new user via Spring Social Facebook?

I am having a website (Angular App) which I can reach on https://localhost:4200 and a server (pure REST API) that is on https://localhost:8443. Since the REST endpoints are secured, a user must login on my server. Obviously I want users to be able…
Stefan Falk
  • 23,898
  • 50
  • 191
  • 378
5
votes
1 answer

JHipster Social Login Google Authentication error Cannot POST /signin/google

Created an application from https://start.jhipster.tech/#/generate-application with JWT and Enabling Social Login, From Google generated the clientID, clientSecret and update the application.yml . In google console's Client ID for Web…
Raj
  • 747
  • 1
  • 9
  • 19
5
votes
2 answers

No Spring Security Remember me cookie created when logging in programmatically

Right after registration (sign up) I'm logging in my user programmatically via Spring Security: public register(HttpServletRequest request, String user, String password) { ... request.login(user, password); } This works fine, but it doesn't…
olivmir
  • 692
  • 10
  • 29
5
votes
1 answer

Spring Social with simple OpenID

Is it possible to use Spring Social with simple OpenID providers like Wordpress, Livejournal or Steam? Seems like Spring Social can implement only OAuth2.
Boris
  • 4,944
  • 7
  • 36
  • 69
5
votes
2 answers

unable to get spring-social-showcase-boot working due to facebook scope?

I am following the instructions provided here to get spring-social-showcase-boot running in my local. This is the error I get when I try to authenticate using facebook. The error is clear that read_stream scope is invalid. But I am unable to figure…
brain storm
  • 30,124
  • 69
  • 225
  • 393
5
votes
1 answer

Does the Facebook Graph API allow to search by e-mail?

I'm trying to search by e-mail using the Facebook Graph API but I always got the error result: request: .../search?q=some@email.coml&type=user result: { "error": { "message": "(#200) Must have a valid access_token to access this endpoint", …
5
votes
2 answers

Keep getting 401 (Authorization Required) with spring social twitter

I've been trying this Spring Social Accessing Twitter Data guide. And though I've double, triple an so on checked everything I keep getting this error when I click "Connect to Twitter" button: POST request for…
Skeeve
  • 1,205
  • 3
  • 16
  • 31
5
votes
1 answer

The absolute uri cannot be resolved in either web.xml or the jar files deployed with this application

I'm converting a web application to use TomEE instead of Jboss 5.1.0 and seeing the following exception: ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/].[mlui]- Servlet.service() for servlet [mlui] in context with path []…
Seckin Tozlu
  • 547
  • 2
  • 5
  • 16
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
5
votes
1 answer

Spring social vs javascript (facebook authentication )

I am developing a native mobile application (for ios ) & a web application that can use facebook authentication to register. I want to know what is the adequate solution to make the authentication? Should I use spring social or javascript if I want…
Zrom
  • 1,192
  • 11
  • 24
5
votes
5 answers

Spring Social - Could not generate CGLIB subclass

I am getting the following error when attempting to navigate to the /connect endpoint of the spring social web module. What I am getting: [Request processing failed; nested exception is org.springframework.beans.factory.BeanCreationException:…
skajake
  • 438
  • 1
  • 6
  • 12
5
votes
1 answer

Integrate app with spring social website

I currently have a website set up with Spring MVC and Spring Social so users can sign in with Facebook and Twitter. Now I want to authorize my Android client to access my third-party web site, with Facebook (or Twitter) credentials. As stated here,…
Jelle
  • 298
  • 1
  • 11
5
votes
1 answer

Login with facebook and using oauth 2.0 for authentication of REST api calls

I am using spring framework and REST architecutre in my api. Currently I am authenticating my REST call by sending username and password with every call. And users are stored in my database. Now I plan to use oauth 2.0 for access to my protected…
khobab
  • 277
  • 5
  • 16