Skip to main content

How to enable social logins (Google/Apple/Facebook) for customer apps

Updated over a month ago

Customers can log in to the customer app or web app using their Google, Apple, or Facebook accounts. This allows them to authenticate using their existing credentials from these platforms instead of creating a separate username and password. Social login options can be enabled through your admin settings and require proper integration with each provider.

To access this setting, follow the path below:

Admin Center-> Apps(tab) -> Social Logins (section)

In the Social Logins section, you’ll find the settings for Google, Apple, and Facebook. We’ll go through each of these in detail below.

Google

For integrating Google social login, you’ll need to get Client IDs and a Web Client ID from the Google Cloud Console:

  1. Create a new project or select an existing one.

  2. Navigate to APIs & Services > Credentials.

  3. Click Create Credentials > OAuth Client ID.

  4. Choose the application type:

    • For your mobile app, select Android or iOS and provide the required package name and SHA-1 certificate fingerprint.

    • For web, select Web Application and provide your authorized redirect URIs.

  5. After creation, you’ll get the Client ID for your app.

  6. Use the Web Client ID for web-based authentication flows (It's used for the Customer web app).


Apple

To integrate Apple Sign In for your app, you’ll need a few credentials from your Apple Developer account. Here’s what the Apple Client ID and Apple Team ID refer to:

1. Apple Client ID
This is also called the “Service ID.”
It identifies your app during the Sign In with Apple flow.
You create it in your Apple Developer account under:
- Certificates, Identifiers & Profiles → Identifiers → Service IDs

  • Click the "+" to create a new Service ID and enable "Sign In with Apple."

2. Apple Team ID
This is a unique identifier for your Apple Developer account team.
You can find it by:

  • Navigating to Membership → Your Team ID is listed there


Facebook

To integrate Facebook login, you need to get your Facebook Client ID and Client Secret. Follow these steps:

  1. Go to https://developers.facebook.com and log in with your Facebook account.

  2. Click on “My Apps” in the top-right corner, then choose “Create App.”

  3. Select the app type — for login functionality, choose “Consumer.”

  4. Fill in the required fields (App Name, Contact Email, etc.), then click “Create App.”

  5. Once the app is created, go to the left-hand menu and open “Settings > Basic.”

    • Here you'll find your App ID (this is your Facebook Client ID).

    • Click “Show” next to App Secret to view and copy your Facebook Client Secret (you’ll be asked to re-enter your Facebook password).

  6. In the left-hand menu, go to “Add Product,” then click “Set Up” under “Facebook Login.”

  7. Follow the setup flow for your platform (Web, iOS, or Android).

  8. In “Facebook Login > Settings,” enter your app’s OAuth redirect URI under “Valid OAuth Redirect URIs.”

    • This URI is where Facebook redirects users after login and should be provided by your platform or backend.

Did this answer your question?