-
Notifications
You must be signed in to change notification settings - Fork 616
Facebook Signin Signup
Matias Lescano edited this page Jun 29, 2015
·
3 revisions
Note: For sake of simplicity, Facebook Signin/Signup can only be used standalone. It can't be used in parallel with normal signin/singup flow.
To activate it:
- Create a Facebook Canvas.
- Go to the Dashboard of your new app. (https://developers.facebook.com/ -> My Apps)
- Go to Settings -> + Add Platform select Website. On Site URL put the domain of your DemocracyOS instance. e.g.: https://demo.democracyos.org
- Go to Settings -> Advanced Tab -> Deauthorize Callback URL and put your domain plus
/auth/facebook/deauthorize
. e.g.:https://demo.democracyos.org/auth/facebook/deauthorize
- Set the environment variables (or edit your
config/{environment}.json
file):
-
FACEBOOK_SIGNIN
:true
-
AUTH_FACEBOOK_CLIENT_ID
: The App ID of your newly created FB app. -
AUTH_FACEBOOK_CLIENT_SECRET
: The App Secret of your newly created FB app.
Visit our official website - Developed by Democracia en Red and contributors from the world over!