Identity provider - Facebook
This guide will help you configure and integrate with Facebook.
Warning
Using hardcoded OAuth integrations is deprecated, as it does limit your flexibilty to implement business rules. Our recommendation is to use Liquid and GraphQL implement the OAuth per your the requirements. To expedite and unify the process, OAuth module will be available soon.
Requirements
To follow the steps in this tutorial, you should be familiar with Users and Identity Providers. This guide builds on previous tutorials in the Developer Guide: Identity Providers section.
Step 1: Create application on your Facebook account https://developers.facebook.com/apps/
Step 2: In the Facebook admin, add you domain to App domains
.
Step 3: In the Facebook admin, add Facebook Login
to an app.
Step 4: In the Facebook admin, set Valid OAuth Redirect URIs
to https://<YOUR_DOMAIN>/auth/facebook/callback
Step 5: Configure Partner Portal -> Social Integrations
Copy App ID
as Facebook Key
and App Secret
as Facebook Secret
.
Step 6: Use /auth/facebook on your Instance
For example, you can add a link to the "Log In / Sign Up" Liquid page that points to /auth/facebook
.