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.

Filter by
Sorted by
Tagged with
1 vote
0 answers
197 views

Add query parameters to social login authorisation URI with spring security

I am curretly using spring security for Oauth2 login via social providers (google, facebook etc). The current setup is based heavily on the following tutorial: https://www.callicoder.com/spring-boot-...
nick_j_white's user avatar
0 votes
1 answer
71 views

Linkedin Social Action API Related

#LinkedIn Greeting to all, I have a question regarding Social Actions API, Basically I wanted to know that there is an particular API for getting all number of Posts along with data like (comments or ...
Mohammad Taha Shaikh's user avatar
0 votes
1 answer
362 views

What should happen if a user sign up via social login and then tries to register with same mail?

In my Spring Boot I'd like to have both social login and signup with user and password. Let's say the user signs-up via Google. After some time, he forgets that he signed-in via Google and tried to ...
Alberto Morreale's user avatar
0 votes
0 answers
276 views

SignIn / SignUp with Google auth code via REST

I am working on the backend for our two applications, which require sign-in and sign-up with a google account via REST - SPA app in Vue and Angular app. I am thinking about this flow: User from SPA ...
Denis Stephanov's user avatar
0 votes
0 answers
275 views

Spring boot REST API handle authorization code GRANT_TYPE

I have a application consist: Web app. Oauth2 server. Resource server. Normally, web app send request to Oauth2 server to get access_token then use it to call api from Resource server. This is ...
Duy Huỳnh's user avatar
0 votes
1 answer
215 views

Springboot social using facebook for authorization

Sorry if this is a VERY stupid question... I'm new to Spring Security and I have a basic SpringBoot Rest API which I now want to learn how to secure. Now what I really want to do is have separate ...
MetaCoder's user avatar
  • 368
0 votes
0 answers
873 views

Get and post data to a page in facebook using spring boot

I am trying to access facebook api from spring boot for first time and have hit a wall appreciate any help in the prospect. I'm trying to get and post data to a page but unable to do using spring boot ...
Sam's user avatar
  • 115
2 votes
0 answers
294 views

Social authentication with (spring boot, Angular 7+)

I want to start full stack project with Angular and Spring boot and I want download project for start from him, The project must have(Login, Signup) with social authentication like(Facebook,Google,...
Mohamad Alhamid's user avatar
3 votes
2 answers
4k views

Spring Security Oauth oauth2UserService(works on github but doesn't work on google)

I am learning tutorial https://spring.io/guides/tutorials/spring-boot-oauth2/ in the last example there is an example of adding error message. Everything seems work fine but i don't understand why ...
Sultan Zhumatayev's user avatar
1 vote
0 answers
59 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 ...
emreturka's user avatar
  • 846
2 votes
0 answers
198 views

Spring Social Twitter and SSLException

I have some problem with Spring Social Twitter and eventually more things, but i dont know how recognize where the problem is. I have an simple app with RestControllers. On front user can click "...
Marcin Wojcik's user avatar
3 votes
1 answer
979 views

Attach OAuth2 login to existing users in a Spring Boot application

I have a Spring Boot application that is "invitation only". Ie. users are sent a signup link and there is no "Sign up" functionality. This works fine and users log on with their username and password. ...
tcelvis's user avatar
  • 155
1 vote
1 answer
143 views

Tweet with Spring-Social-Twitter Api inReplyToStatus doesn't work

I'm trying to send a Tweet as a response (reply) to another tweet that I found via a query. But although I'm calling https://docs.spring.io/spring-social-twitter/docs/current/apidocs/org/...
Alexander's user avatar
  • 2,935
1 vote
0 answers
117 views

Custom login page for Twitter using spring social

I'm currently working towards completing university course. One of the task is to create application, which retrieve user data from Twitter APIs and then display data on webpage. To retrieve user data ...
rozek1997's user avatar
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 ...
maximus's user avatar
  • 4,201
-1 votes
1 answer
409 views

What is the relationship between Spring social and oauth2 protocol?

I read some stuff about oauth2 protocol and its concepts like: resource owner resource server authorization server grant types and etc.. Does spring-social use oauth2 protocol? For example if I ...
sajjad jafari's user avatar
1 vote
0 answers
56 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 ...
Miljana Milly's user avatar
2 votes
0 answers
53 views

Bean of type ConnectionFactoryLocator couldn't be found

I want to add into my web application a login system from facebook. I used this tutorial. When I run the github project from tutorial all is working but when I try implement it myslef I got this ...
Pawel's user avatar
  • 427
0 votes
1 answer
264 views

Inject Google and Facebook connection factory

I created SocialConfig which looks like: @Configuration @EnableSocial public class SocialConfig { //enviroments @Bean public ConnectionFactoryLocator connectionFactoryLocator() { ...
Lukasz's user avatar
  • 63
3 votes
5 answers
6k views

Tried accessing nonexisting field (context) on node type (User)

I am accessing connection.fetchUserProfile() from Connection<?> connection but it gives org.springframework.social.UncategorizedApiException: (#100) Tried accessing nonexisting field (context) ...
Januka samaranyake's user avatar
0 votes
2 answers
262 views

Receive Userobject but every entry is null (facebook restfb)

I'm building a form and want to fetch fields like "first_name" and "last_name" by e.g. facebook or google data but only receive an object with every entry is "null" I've tryed go add a custom ...
John Johnson's user avatar
0 votes
0 answers
121 views

How to post job on social media platform?

I have an application from which a user need post job onto social media platform like Facebook,twitter,but my main concern is Facebook. I have already gone through: 1)Spring social Facebook 2)...
DevApp's user avatar
  • 55
3 votes
1 answer
5k views

Spring OAuth login with linkedin

I want to implement login with linkedin to my project. I tried implementing github and it work but with linkedin my code doesn't compile. I implemented my login system using https://developer.okta....
Omeerfk's user avatar
  • 128
0 votes
1 answer
843 views

successForwardUrl does not work with Spring Social after authenticating successfully

I'm working on a Spring Boot project integrating with Spring Social. After authenticating with google successfully, I want to redirect to the end point /userInfo, but it seems to redirect to the ...
Son Nguyen's user avatar
0 votes
1 answer
417 views

Getting 410 error when using Spring social LinkedIn

I'm using spring-social-linkedin v2.0.0.M2 and I have Oauth via Linkedin. When completing the authorization, Spring Social does the following request (git that from debugging): https://api.linkedin....
lopushen's user avatar
  • 1,117
0 votes
0 answers
332 views

Spring Social Facebook - No beans of 'Facebook' type found

I'm trying to integrate Facebook registration and login into my Spring Boot webbapp and as I understood well the easiest way to do so is by using spring-social-facebook. I followed this code https://...
Stefano Sambruna's user avatar
2 votes
1 answer
2k views

OAuth2 Authenticate using the social account and storing the jwt token in the database

I’m following the tutorial series: https://www.callicoder.com/spring-boot-security-oauth2-social-login-part-1/ it’s the greatest tutorial but the token doesn't store in the database and token’s format ...
Dvortsevoy Eugene's user avatar
1 vote
0 answers
209 views

Error while calling Linkedin api with spring-social-linkedin lib

My organization had integrated Linkedin login in some of its sites and it was working fine until recently it started failing. Was using 1.0.2.RELEASE version. On analysing the root cause, found ...
Ani's user avatar
  • 123
0 votes
0 answers
34 views

How to log all requests and responses between my application and Facebook with Spring Social?

I use spring-social-facebook library to let user sign in to my application via Facebook and to get some basic information about the user. Looks like spring-social-facebook logs only responses with ...
Christina Kh's user avatar
0 votes
1 answer
48 views

spring-social: ProviderSignInController: Why signIn(...) with POST only?

Is there a specific reason why a user sign-in with {providerId} can only be initiated with a POST request (to /signin/{providerId})? Why not with a GET request?
bgraves's user avatar
  • 788
1 vote
0 answers
110 views

Spring social integration via JHipster

Can someone explain to me how Spring Social works with JHipster. I have BE generated via JHipster and would like to have on my custom Client app Facebook, Gmail, Steam and Discord login ?
user3364181's user avatar
1 vote
1 answer
186 views

How to configure facebook signup/signin for Spring Boot using signup/signin adapters?

I'd like to implement Social signup/signin functionality besides my existing signup/signin functionality using jwt. I followed this tutorial : https://www.baeldung.com/facebook-authentication-with-...
Pops1992's user avatar
1 vote
0 answers
145 views

Jhipster Spring Social SignIn with Facebook and Google not working

I'm developing a Jhipster based application with Angularjs. When I click to login with Facebook or Google then popup appear for choose account after that it through a blank page with URL /signin?error=...
Sachin Kumar's user avatar
-1 votes
1 answer
132 views

AngularJS Spring Social Facebook CORS problem

I'm trying to build a sample login using AngularJS(1.6) FE and Spring Boot(2.1) BE running on different ports. I'm using Spring Boot Social to enable FB login. But when I try to login using Facebook, ...
kxtrya's user avatar
  • 11
0 votes
2 answers
360 views

what is difference between spring social and spring security oauth

As far as i understand, I can get the same result about login for Facebook, Google, and etc using both. I searched a lot but nobody asked this... What's difference between them?
devhak's user avatar
  • 155
-3 votes
1 answer
89 views

Spring Social and Angular

I’m looking for some samples or articles that explain how to integrate spring social to my micro-services architecture, more specifically to my authorization server. Can sommeone explain how can i add ...
Free23's user avatar
  • 15
0 votes
1 answer
941 views

Spring Social LinkedIn : 'org.springframework.social.linkedin.api.LinkedIn' that could not be found

I'm trying to create a Spring Social application with Spring Boot and Im facing issues starting it . I have gone through Spring social documentation and Spring Social sample projects searching around ...
Anshuman M's user avatar
0 votes
1 answer
100 views

Integrating spring social with native android app

I am developing an android app with Facebook, Twitter logins and custom posts with these providers. But their callback sequence causes instability in my app. I want to transfer login job. I am curious ...
starrystar's user avatar
1 vote
0 answers
104 views

Spring social: authentication with Facebook on machines with a load balancer

My site uses spring social (1.1.6.RELEASE) and spring social facebook (2.0.3.REALEASE) to let users to sign in with their Facebook accounts. Recently, Facebook requires all websites to use HTTPS ...
curious1's user avatar
  • 14.2k
1 vote
2 answers
2k views

Springboot: Callback URL not approved for this client application. Approved callback URLs can be adjusted in your application settings?

I created an app in twitter and trying to do basic authentication but I am getting the below error so can anyone help me with this? How to resolve the error? Callback URL not approved for this client ...
Akash Sourav Nayak's user avatar
5 votes
0 answers
865 views

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 ...
Jega's user avatar
  • 696
4 votes
1 answer
850 views

Spring Social : OAuthException: Response body is incorrect. Can't extract a token from this

Can any one help me on this, please I get the following exception when I try to parse Facebook token, using spring social org.scribe.exceptions.OAuthException: Response body is incorrect. Can'...
Ahmad Al-Kurdi's user avatar
0 votes
1 answer
2k views

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

I'm developing a spring boot application and I need to use spring social login for facebook. I tried different strategies and tutorials to achieve that, but every time after user is redirected from ...
Sepehr GH's user avatar
  • 1,307
1 vote
0 answers
89 views

How to fix the redirct url issue in social linked in integration with springmvc

i am facing one issue in linkedIn social integration with spring mvc based web application updated their social library to 1.0a Oauth to 2.0 Oauth in linked in developer network i mentioned Redirect ...
Jhon's user avatar
  • 43
0 votes
2 answers
1k views

Spring Boot Social Twitter Authentication fails

I have a project on Spring Boot, in which I need to implement authorization via Twitter. What could be simpler? - I asked myself, and then I got stuck for a few days. The problem is that the most of ...
O.Solodovnikov's user avatar
0 votes
1 answer
156 views

Spring social authentication behind nginx proxy

Spring social adds wrong Location header when authenticating behind proxy My setup consists of 3 docker images Nginx Spring boot application Angular 5 application Now when authenticating everything ...
user3960875's user avatar
0 votes
0 answers
21 views

I'm unable to setup the Spring Social ShowCase project in IntelliJ Idea

The gradle is unable to build and unable to resolve the following: maven { url "http://repo.spring.io/libs-milestone" } maven { url "http://repo.spring.io/libs-snapshot" }
Asheer Abbas's user avatar
12 votes
3 answers
15k views

Callback URL not approved by Twitter

My application built upon spring-social-twitter that enables users to sign in with Twitter has stopped working recently. I've got an error message as below: Callback URL not approved for this ...
Yuci's user avatar
  • 27.5k
2 votes
0 answers
309 views

Upgrade to Facebook Graph API v2.7 or higher

I have a Java website that uses Spring Social for integration with Facebook (account registration and sign-in with a Facebook email address). Here is what I have in pom.xml: <dependency> &...
curious1's user avatar
  • 14.2k
2 votes
0 answers
118 views

Spring Social Twitter - API changes, url callback

There were some changes in Twitter API recently, as a result using Twitter with Spring Social is no longer possible. Twitter say that callback_url parameter must be provided from now on. Apparently ...
jarosik's user avatar
  • 4,206

1
2 3 4 5
15