Facebook

First, go to developers.facebook.com. Click on the “Create App” in the top right corner. fb1 Name your app, enter your email address and press create. Enter the captcha code and click submit. fb2 Select the product Facebook Login by clicking ‘Set Up’ on the Facebook Login card. fb3 Choose the platform ‘Web’. fb4 Enter your authentication domain (something.cloudflareaccess.com) and click save then continue. fb5 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 Copy the App ID and App Secret into the Cloudflare dashboard into the fields called OAuth ID and OAuth Secret respectively. fb7 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’. Then enter into the Valid OAuth redirect URIs field: your authentication domain /cdn-cgi/access/callback. Click Save Changes. fb8 Now Click on “Save and Test” on the Cloudflare dashboard to make sure your connection to the identity provider is successful. fb9