How to connect Facebook login to Cloudflare Access

First, go to Click on the menu in the top right corner and select Add a New App.


Name your app, enter your email address and press create.


Select the product Facebook Login by clicking 'Set Up' on the Facebook Login card.


Choose the platform 'Web'.


Enter your authentication domain ( and click save then continue.


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.

Copy the App ID and App Secret into the Cloudflare dashboard into the fields called OAuth ID and OAuth Secret respectively. 


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.


Not finding what you need?

95% of questions can be answered using the search tool. This is the quickest way to get a response.

Powered by Zendesk