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

流过昼夜 提交于 2019-12-03 04:33:26

Spring Social Example is the Spring 3.x implementation written by me, you just have to change Facebook/Twitter apikey, apisecret, callback url and scope as per your requirement in application.properties here.

Here is the example of how to implement social login feature using spring framework.Blog of this application for precise explination.This application supprts

1) Form Login : This is classic login,where there will be a form accepting username and password.User need to submit his/her user details.

2) Social Login (Facebook,twitter & linkedin) : Here social user can signin in the application using their Facebook/Twitter/linkedin accounts. Then we add support for current users to associate their social accounts with their accounts in the application,it is also called mapping social user with local user.

You can use the below github example,

https://github.com/pkainulainen/spring-social-examples

Source article : https://www.petrikainulainen.net/spring-social-tutorial/


I don't know why you don't need the example given by Spring team. But the article and example code looks very much helpful to me. These getting started guides based on Spring Boot will help you,

https://spring.io/guides/gs/accessing-facebook/

http://projects.spring.io/spring-social-facebook/

Clone the repo from github

git clone https://github.com/spring-guides/gs-accessing-facebook.git
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!