Skip to main content

Facebook Login (SSO) Configuration

Allow your customers to log in to your second-hand site in one click using their Facebook account.

Written by Faume

This configuration enables Single Sign-On (SSO), providing a smoother user experience, reducing registration friction, and improving conversion rates.

Prerequisites

Before getting started, make sure you have the following:

  • The final URL of your second-hand site (example: https://secondhand.brand.com)

  • Administrator access to your Meta for Developers account

Step 1: Create Your Facebook Application

  1. Log in to Meta for Developers.

  2. Click My Apps, then Create App.

  3. Select the Consumer application type.

  4. Fill in:

    • Your application name (generally the name of your second-hand site)

    • A contact email address

  5. Click Create App.

This application will allow Facebook to identify and secure your users' logins.

Step 2: Enable Facebook Login

  1. From your application dashboard, go to the Products section.

  2. Click Set Up next to Facebook Login.

Step 3: Configure Login Settings

In the side menu, go to:

Settings → Login Settings

Configure the following items:

  1. Valid OAuth Redirect URI

    Add the following URL: https://secondhand.brand.com/oauth/callback (replace the domain with your site's domain)

  2. Login Security

    Enable the following option: OAuth Login Only

    Once the information has been entered, click Save Changes.

Step 4: Retrieve the Application Credentials

Go to:

Settings → Basic

There you will find:

  • App ID

  • App Secret

These two pieces of information must be shared with the Faume team so that we can complete the integration.

Important

To allow the application to be deployed to production, also configure:

  • The Privacy Policy URL

  • The Terms and Conditions URL

Step 5: Prepare for Production

In the Application Review section:

  1. Add an application icon.

  2. Complete the application description.

  3. Verify the requested permissions:

    • email

    • public_profile

These elements are required to obtain Meta's approval and allow Facebook Login to be used by all of your users.

Step 6: Share the Information with Faume

Once the configuration is complete, send the following information to the Faume team:

  • The App ID

  • The App Secret

We will then proceed with the final configuration of your site.

Step 7: Validate the User Journey

Before going live, we recommend testing:

  • A successful login

  • A user denying permissions

  • A login error

  • The correct retrieval of user information

Step 8: Move to Production

Once testing has been validated:

  1. Go to Settings → Basic.

  2. Switch the application from Development mode to Production mode.

Before final validation, make sure that:

  • Authorized domains are configured correctly

  • The required permissions have been approved by Meta

  • The legal URLs have been provided

Congratulations

Your Facebook application is now ready to be used with your second-hand site.

Once the credentials have been shared, the Faume team will complete the integration in order to provide your customers with a simple, fast, and secure login experience.

Did this answer your question?