Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Facebook Signin Signup
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
- Set the environment variables (or edit your
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.