An open API service indexing awesome lists of open source software.

https://github.com/cuba-platform/sample-social-login

Custom authentication for CUBA Applications using Facebook
https://github.com/cuba-platform/sample-social-login

Last synced: about 1 year ago
JSON representation

Custom authentication for CUBA Applications using Facebook

Awesome Lists containing this project

README

          

# 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:

- Web application: http://localhost:8080/app
- JS application sample with REST API: http://localhost:8080/app/VAADIN/facebook-login-demo.html

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