Step 1: First, go to developers.facebook.com. Click on the “Create App” in the top right corner.
Step 2: Name your app, enter your email address and press create. Enter the captcha code and click submit.
Step 3: Select the product Facebook Login by clicking ‘Set Up’ on the Facebook Login card.
Step 4: Choose the platform ‘Web’.
Step 5: Enter your authentication domain (something.cloudflareaccess.com) and click save then continue.
Step 7: Copy the App ID and App Secret into the Cloudflare dashboard into the fields called OAuth ID and OAuth Secret respectively.
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.
Step 10: Now Click on “Save and Test” on the Cloudflare dashboard to make sure your connection to the identity provider is successful.