Facebook

Step 1: First, go to developers.facebook.com. Click on the “Create App” in the top right corner. fb1

Step 2: Name your app, enter your email address and press create. Enter the captcha code and click submit. fb2

Step 3: Select the product Facebook Login by clicking ‘Set Up’ on the Facebook Login card. fb3

Step 4: Choose the platform ‘Web’. fb4

Step 5: Enter your authentication domain (something.cloudflareaccess.com) and click save then continue. fb5

Step 6: The rest of the steps on the page give you javascript to install on your site. You can ignore those. Instead,go to Settings on the left side menu of the page. fb6

Step 7: Copy the App ID and App Secret into the Cloudflare dashboard into the fields called OAuth ID and OAuth Secret respectively. fb7

Step 8: Then click on the Facebook Login option in the left side menu. Move the slider to Yes for the option ‘Use Strict Mode for Redirect URIs’.

Step 9: Then enter into the Valid OAuth redirect URIs field: your authentication domain /cdn-cgi/access/callback. Click Save Changes. fb8

Step 10: Now Click on “Save and Test” on the Cloudflare dashboard to make sure your connection to the identity provider is successful. fb9