/sample-social-login

Custom authentication for CUBA Applications using Facebook

Primary LanguageJava

Social login sample for CUBA Platform web and REST API

This project illustrates the way of integration a custom social login for CUBA applications taking Facebook OAuth2 login as an example.

Try

  1. Register Facebook application with Login feature
  2. Set your appId and appSecret in modules/core/src/com/company/demo/app.properties file
  3. 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:

Issues

Please use https://www.cuba-platform.com/discuss for discussion, support, and reporting problems coressponding to this sample.