Cloudflare Access allows your users to use Facebook as their IdP.
Set up Facebook as your IdP
Use these steps to set up Facebook as your identity provider.
Go to go to developers.facebook.com.
Click Create App at the top-right.
The Create a New App ID card displays
Enter the Display Name and Contact Email.
Click Create App ID.
The Create a New App ID window displays.
Enter the Captcha code to proceed.
Click Submit.
On the Facebook Login card, click Set Up.
A Quickstart card displays offering platform choices.
Click Web.
The Web tab displays.
Enter your Site URL.
Click Save.
Click Continue.
Ignore any JavaScript page that suggests that you install it on your site.
Click Settings > Basic on the left-hand menu.
In the Cloudflare Access app, copy the App ID and App Secret into the OAuth ID and OAuth Secret fields.
Click Facebook Login.
Set the Use Strict Mode for Redirect URIs slider to Yes.
Enter your authentication domain in the Valid OAuth redirect URIs field.
Click Save Changes.
Click Save and Test in the Cloudflare Access app.
On successful connection to your identity provider, a confirmation window displays.
Example API Configuration
{ "config": { "client_id": "<your client id>", "client_secret": "<your client secret" }, "type": "facebook", "name": "my example idp"}
export const _frontmatter = {"order":12}