Facebook social sign in

Link to this section

You can enable users to sign up and sign in using their Facebook credentials. To enable this, you’ll need a Facebook app and some developer know-how.

Copy the callback URL from Kinde

Link to this section
  1. In Kinde, go to Settings > Authentication.
  2. If you have not yet added the Facebook social connection, select Add connection in the Social authentication section.
  3. Select Facebook, then Save.
  4. On the Facebook tile, select Configure.
  5. Copy the callback URL. You’ll need this to configure the details in your Facebook app.

Create a Facebook app

Link to this section
  1. Go to the Facebook/Meta developer space and select Create app.
  2. When prompted, select a business type app.
  3. Complete the details and select Create app.
  4. Go to Settings > Basic and copy the Client ID and Client Secret (labeled as App ID and App Secret) and paste them in a text file or somewhere you can easily copy them.

Configure the app

Link to this section
  1. In your Facebook app, go to the Settings > Basic.
    1. Paste your Kinde domain URL in the App domains field, but do not include the https/http or path. For example, paste yourdomain.kinde.com.
    2. Add other details such as app icon and privacy policy link.
    3. Select Save changes.
  2. Go to Settings > Advanced.
  3. Under Domain manager, select Add a domain to add your Kinde domain.
    1. When you add the domain here (include the https/http part of the URL).
    2. Under the Security section, ensure the Require app secret switch is turned off.
    3. Select Save changes.
  4. In the top banner of your app, switch the App mode from Development to Live.

See the Facebook docs for more information about creating apps.

Create a Facebook product

Link to this section
  1. In your app dashboard, scroll to the Add products to your app section and select Facebook Login for Business.
  2. Ignore the page settings and in the header message, select Switch to Facebook Login.
  3. In the confirmation window, select Certain permissions aren’t available with this product as the reason.
  4. In the Select the permissions you require field that appears, select email and public_profile.
  5. Select Switch to Facebook Login.
  6. Enter the Kinde callback URL in the Valid OAuth Redirect URLs field.
  7. Select Save Changes.
  8. In the red warning message at the top of the page, select Get Advanced Access. The Permissions and Features page opens.
  9. Next to the email entry:
    1. Select Request advanced access.
    2. In the confirmation window, select the checkbox and enter your facebook password.
    3. Select Submit.
  10. Next to the public_profile entry:
    1. Select Request advanced access.
    2. In the confirmation window, select the checkbox and enter your Facebook password.
    3. Select Submit.

Add Facebook credentials to Kinde

Link to this section
  1. In Kinde, go to Settings > Authentication.
  2. On the Facebook tile, select Configure.
  3. Paste the Client ID and Client secret from the Facebook app into the relevant fields.
  4. Select which applications will allow Facebook SSO.
  5. Select Save.

Users will now see Facebook as an option to sign up and sign in to the selected applications.

When an email is not provided

Link to this section

Facebook does not require an email for sign up, but Kinde does. So if a user signs up with Facebook and an email is not detected, we will ask for one.

The user only needs to provide their email once, then they can sign in via Facebook without disruption.

If the email they provide is already detected in Kinde, we will automatically link the accounts so as not to duplicate.

Talk to us

If you can’t find what you’re looking for in our help center — email our team

Contact us