Folked from https://github.com/Robbert1/boot-stateless-social
Example project integrating Spring Security with Spring Social OAuth 2 based social login with facebook.
Facebook expects the app to run under http://localhost:8080.
You must change your facebook app key and secret etc in application.properties
Needs Gradle 3 and JDK 8
build with gradle clean build
run with gradle bootRun