Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.
Facebook LoginConfiguration

Facebook sign-in

Configure Facebook Login for enrolment forms: create a Facebook App, set redirect URIs and domains, then add the App ID and secret in the admin console.

Use this page to enable the Facebook button in an enrolment form. Read Social sign-in first for the customer flow, the hosts to allow and the way to enable a provider on the form.

Enrolment form with a Facebook sign-in button
Connect with Facebook in an enrolment form example

What is set up here

  • A Facebook App with the Facebook Login product enabled, in the brand's Meta for Developers account (permission to create or manage Facebook Apps is required).

  • Valid OAuth redirect URIs and allowed domains for the enrolment form hosts.

  • The App ID and the App secret stored in the admin console.

Create the Facebook App

1

Open the Meta Developer portal

Go to the Meta for Developers Apps dashboard:

Meta Apps Dashboard

2

Create a new App

  1. Click Create App.

  2. Select the use case Authenticate and request data from users with Facebook Login. Meta adds Facebook Login to the app automatically.

  3. Set a name. Example: Wallet Crew login.

  4. Complete the app creation wizard and confirm the developer account if prompted.

3

Configure allowed domains and redirect URIs

Navigate to Facebook Login → Settings in the left sidebar and configure the following:

Valid OAuth Redirect URIs: add every host listed in Hosts to allow, one entry per environment.

Login with JavaScript SDK: set it to Yes. The enrolment form signs in with the Facebook JavaScript SDK.

Allowed Domains for JavaScript SDK: add the same list of hosts. Meta supports only https pages for this login.

Save your changes.

Unlike Google, Facebook requires both the redirect URI and the domain allowlist to be filled in.

4

Switch the App to Live mode

  1. In the top bar of the App dashboard, toggle the app from Development to Live.

  2. If prompted, provide a Privacy Policy URL — this is required by Meta before going live.

While in Development mode, only users listed as testers or developers on the app can sign in. Switch to Live so all users can authenticate.

Add the App ID and App secret in The Wallet Crew

  1. Open Settings → Enrollment → Social sign in → Facebook in the admin console.

Social sign in → Facebook

Facebook tab of the Social sign in settings in the admin console
The Wallet Crew - Facebook Social Sign In configuration
  1. Paste the App ID and the App secret from Meta for Developers (App settings → Basic). The App secret is stored server-side and used to verify the customer's Facebook token. Paste it only in the admin console, never in front-end code. After saving, it is hidden.

  2. Save.

Enable Facebook on the enrolment form

Add the provider to the form as described in Enable a provider on the form, with type: facebook and no displayProps.