This project illustrates the way of integration a custom social login for CUBA applications taking Facebook OAuth2 login as an example.
- Register Facebook application with Login feature
- Set your appId and appSecret in modules/core/src/com/company/demo/app.properties file
- Set proper cuba.webAppUrl parameter in both app.properties and web-app.properties files
You will be able to login using Facebook in both web and REST API application:
- Web application: http://localhost:8080/app
- JS application sample with REST API: http://localhost:8080/app/VAADIN/facebook-login-demo.html
Please use https://www.cuba-platform.com/discuss for discussion, support, and reporting problems coressponding to this sample.