🚧 The Saascannon docs are currently under construction, we are working hard to document Saascannon thoroughly 🚧
Providers
Facebook

Facebook

As one of the largest social media platforms globally, Facebook boasts an extensive user base spanning diverse demographics. Integrating Facebook authentication into your product offers users a familiar and convenient login method, leveraging their existing presence on the platform for a seamless access experience.

How to setup the Facebook auth provider

To enable Facebook (opens in a new tab) as an auth provider, you will need to register a Facebook App through Facebook for developers (opens in a new tab). Follow the official facebook guide (opens in a new tab) for up to date instructions on how to do this.

First, navigate to your facebook developer account and create a new app. You can follow this link (opens in a new tab) to create a new app.

Screenshot showing the facebook create app flow selecting the Authenticate and request data from users with Facebook Login option

When prompted Select "No, I'm not building a game" Screenshot showing the facebook create app flow selecting the Login type

Then, fill in your app details before clicking "Create App" Screenshot showing the facebook create app flow app details page

Now that your app is created you will need to configure a few settings. To do this, navigate to "Use Cases" and click "Customise" under "Authentication and account creation" Screenshot showing how to navigate to the facebook app login settings

Next, you need to enable the email permission if you have not already, this is under the permissions of the screen you navigated to in the last step. Screenshot of the permissions section in the facebook app authentication customisation page showing an arrow to add the email permission

Once you have added the email permission, you will need to configure the login settings, to do this, click "Go to settings" under the Facebook Login section Screenshot of the Facebook Login section in the facebook app authentication customisation page showing an arrow to go to settings

Once here, you will need to, paste in your callback url from the saascannon dashboard then click "Save Changes"

If you are unsure on how to find your callback URL in the Saascannon Dashboard (opens in a new tab), follow our guide on how to find your callback url for auth providers

Screenshot of the facebook app login settings page with the callback url filled in

Now, you will now need to retrieve the app ID and app secret by clicking into your app's basic settings. Screenshot showing the facebook created app settings with arrows pointing at the app id and app secret

Paste these into the respective fiels in the saascannon dashboard then click "Enable Facebook Auth Integration" Screenshot of the completed enable facebook auth provider form in the saascannon dashboard

Congratulations! Users will now be able to login and link their accounts with Facebook accounts in your saascannon tenant.

Screenshot of the saascannon tenant login form with Facebook enabled