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
- Host: GitHub
- URL: https://github.com/cuba-platform/sample-social-login
- Owner: cuba-platform
- Created: 2017-08-01T11:15:54.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-08-07T08:13:07.000Z (almost 8 years ago)
- Last Synced: 2025-01-23T08:19:29.841Z (over 1 year ago)
- Language: Java
- Size: 101 KB
- Stars: 2
- Watchers: 5
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.