Spring Boot facebook login authentication using OAuth
Jul 20, 2017 · 1 min read

This project template implements a facebook login flow based on https://developers.facebook.com/docs/facebook-login/manually-build-a-login-flow using OAuth (not the Facebook javascript API)
git clone https://github.com/knalum/spring-auth.git
There are 3 application config parameters necessary to run the app:
* REDIRECT_URL: The url for the login page
* APP_ID: Your fb app id
* APP_SECRET: Your fb app secret
It's also necessary to create a login app on a facebook developer account. A temporary SSL certificate is added in order to serve cookies over HTTPS
Run the main method and open:
