Facebook login setup

Strivacity supports social authentication using external identity providers such as Facebook. This allows customers to log in to your application using their existing Facebook identity.

Overview

There are two steps required to set up your Strivacity instance to use Facebook as a social login provider:

  1. Configuring Facebook login in Facebook for Developers
  2. Configuring Facebook login in Strivacity

You will need the following information to complete this setup:

  • Your Strivacity instance address (required by Facebook and is easily available from Instance information in the Admin Console).
  • The URL to your organization's Privacy Policy (required by Facebook).
  • The URL of your website/application's Terms of Use (required by Facebook).

Step 1: Configuring Facebook login in Facebook for Developers

To set up and configure Facebook for use as a social login provider, follow the steps outlined below.

🚧

Ensure that you perform this step using your personal Facebook account and not a Facebook business account, otherwise Facebook will not allow you to create a Facebook application.

  1. Go to Facebook for Developers, select Getting Started in the upper right-hand corner of the screen, and log in using your existing Facebook account or create a new one.
  2. Once you've logged in using your Facebook account, select My Apps in the upper right-hand corner of the screen.
  3. Select Create app from the Facebook for Developers screen:
  1. Next, select For Everything Else from the Create an App ID menu as shown in the screenshot below:
  1. Next, enter an App Display Name and confirm your App Contact Email and Business Manager account information, as shown below. Once completed, select Create App ID.
  1. You may now be asked to complete a security check. After that, select Submit.
  2. The Application screen will now be displayed. Choose Set Up in the Facebook Login tile.
  1. From the left-hand menu, choose Products > Facebook Login > Settings.

Configure the following options as shown below, then select Save Changes.

SettingValue
Client OAuth LoginYes
Web OAuth LoginYes
Valid OAuth Redirect URIs[The URI of your Strivacity instance]/provider/continue
Click to Enlarge
  1. From the left-hand menu, go to Settings > Basic.
Click to Enlarge

Configure the following options in the table below and then choose Save Changes.

SettingValue
Application StatusLive
App DomainsInstance address
Privacy Policy URLURL to your Privacy Policy
CategorySelect the appropriate business category for your brand
Business UseSupport my own business
  1. You will now need to copy and paste the App ID and App secret values into the corresponding fields for the Facebook login provider in the Strivacity Admin Console. Select Save to finish the Facebook configuration.

See Step 2 below for instructions on how to now set up Facebook as a social login provider within the Admin Console and complete the setup.

Click to Enlarge

Step 2: Configuring Facebook login in Strivacity

Following these steps will finalize your setup for using Facebook as a social login provider with Strivacity (and your application).

  1. Start by logging into the Admin Console using an admin account.

  2. From the left-hand menu, select Identities > Social login.

  3. On the Social login screen, choose Create in the top right-hand corner.

  4. On the Create login provider screen, select Facebook.

  5. A configuration screen is displayed.

  6. Next, copy the App ID and App Secret you located in step 10 during setting up Facebook for Developers, and paste the respective values into the App ID and App Secret fields.

  7. Select the Scopes to request from Facebook. By default, Strivacity requests access to the Facebook public profile and can optionally request the customer’s email address.

  8. Enable Synchronize and store profile data at each login to ensure customer data is kept up-to-date inside your application. If you choose to synchronize and store this social profile data at each login, Strivacity will retrieve and store this information, which will be visible to the customer on their My Account page and to any Strivacity admins when managing the customer's identity.

  9. You can also define Additional parameters that are included in the authorization request sent to Facebook. These parameters allow you to control provider-specific authentication behavior. For example, some providers support parameters such as prompt=login to force re-authentication instead of reusing an existing session.