Conscent.ai Developer Documentation
  • Version 2.0
    • Using Conscent.ai
    • Web SDK
    • Login
    • Logout
    • User Details Drawer
    • Google One Tap
    • Mobile SDK
      • iOS(Swift)
        • In-App Purchases with Conscent
      • Android SDK
      • React Native SDK
      • Google In-App Purchases with Conscent
      • Apple In-App Purchases with Conscent
    • Facebook SSO Integration Guide
    • Landing Page API v 2.0
    • AMP Integration
    • Integrating APIs(v2)
      • Purchase Details
      • User Registered Or Not
      • User Registrations
      • Subscription Plans Details
      • Get User Details
      • Add Subscription If User Registered
      • Update UserDetails
      • Update SubscriptionDetails
      • Get All Transaction Details
    • IAM System API Documentation
  • Version 1.0
    • Getting Started
    • On Board
    • Using Conscent.ai
    • Authentication
    • Web SDK
    • Login
    • Logout
    • Amp Documentation
    • Mobile SDK
      • Android
      • Flutter
      • iOS(Swift)
      • React Native SDK
    • Auto Login
    • Creating External Purchases
    • Landing Page API
  • Login Screen Customization
  • Integrating Client Payment Gateway
  • Integrating with APIs
    • User Details and Subscriptions Information
    • Purchased Subscriptions
    • User and Purchase Details
    • Client Purchases
    • Client Micropayments
    • Client Passes
    • Cancel Active Subscriptions
    • Delete User
  • Events API Docs
    • Different Types of Events
    • SSO Login Flow
  • Discount Coupon
    • Dynamic Coupon API Generation:
  • New Webhooks
    • Meter Banner Webhook
    • Paywall Webhook
    • SignUp Webhook
    • Refund Webhook
    • Purchase Webhook
    • Subscription Landing Page Webhook
    • Popup Webhook
    • User Update Webhook
    • Payment Gateway Webhook
    • Review Page Webhook
    • Transaction Webhook
    • Login Webhook
    • Cancel Subscription Webhook
  • Old Webhooks
    • Sign Up Webhook
    • Login Webhook
    • Subscription Payment Webhook
    • Subscription Cancelled Webhook
    • Pass Payment Webhook
    • Subscription Bundle Payment Webhook
    • Review Subscription Webhook
    • Micro Payment Webhook
    • How to validate Webhooks?
  • Registering The Content
    • Create Content
    • Edit Content
    • View Content
  • Country Code List
  • Supported Currencies and Payment Gateways
    • Stripe Supported Country with Currency
    • Razorpay Supported Country with Currency
    • Paypal Supported Country with Currency
  • Errors
  • Loyalty System
    • Web SDK
    • iOS SDK
    • Android SDK
    • Flutter SDK
    • API from server
Powered by GitBook
On this page
  1. Version 2.0

Facebook SSO Integration Guide

PreviousApple In-App Purchases with ConscentNextLanding Page API v 2.0

Last updated 5 months ago

Welcome to the Facebook SSO Integration Guide. This document provides step-by-step instructions for integrating Facebook Login into your application, enabling users to authenticate with their Facebook credentials. This integration supports both web and mobile platforms (iOS and Android).

Prerequisites:

Before you begin, ensure you have the following:

  • A registered Facebook Developer account.

  • An app created in the Facebook Developer Console.

  • Access to your application’s codebase (web or mobile).

  • Your application’s redirect URLs (for web) or package names and key hashes (for mobile).

Step 1: Create a Facebook App

  1. Log in to Facebook for Developers: Go to and log in with your Facebook account.

  2. Create a New App:

    1. Click on “My Apps” in the top-right corner.

    2. Select “Create App”.

    3. Choose “Consumer” as the app type and click “Next”.

    4. Enter your App Name and Contact Email.

    5. Click “Create App” and complete any security checks.

Step 2: Configure Your Facebook App

  1. Obtain App ID and App Secret

    1. In “Settings” > “Basic”, you will find your App ID and App Secret.

    2. Important: Keep your App Secret confidential.

  2. Whitelist Your SSO Domain a. In your Facebook Developer Console, ensure your application’s domain is whitelisted: b. Go to “Settings” > “Basic”. c. Add your SSO domain(s) in the “App Domains” field. d. Ensure that your Bundle Identifier (iOS) and Package Name (Android) are correctly set for mobile apps.

Step 3: Turn On Live Mode

a. By default, If your app is in Development Mode and only accessible to admins, developers, and testers.

b. To make your app available to all Facebook users:

c. Go to the top bar of the dashboard.

d. Toggle the switch from “In Development” to “Live”.

Note: You may need to provide a privacy policy URL and adhere to Facebook’s platform policies.

Conclusion

By following this guide, you can integrate Facebook SSO into your application successfully. This will enhance user experience by providing a quick and secure login method.

developers.facebook.com