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.
- In Kinde, go to Settings > Authentication.
- If you have not yet added the Facebook social connection, select Add connection in the Social authentication section.
- Select Facebook, then Save.
- On the Facebook tile, select Configure.
- Copy the callback URL. You’ll need this to configure the details in your Facebook app.
- Go to the Facebook/Meta developer space and select Create app.
- When prompted, select a business type app.
- Complete the details and select Create app.
- 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.
- In your Facebook app, go to the Settings > Basic.
- 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
. - Add other details such as app icon and privacy policy link.
- Select Save changes.
- Paste your Kinde domain URL in the App domains field, but do not include the https/http or path. For example, paste
- Go to Settings > Advanced.
- Under Domain manager, select Add a domain to add your Kinde domain.
- When you add the domain here (include the https/http part of the URL).
- Under the Security section, ensure the Require app secret switch is turned off.
- Select Save changes.
- 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.
- In your app dashboard, scroll to the Add products to your app section and select Facebook Login for Business.
- Ignore the page settings and in the header message, select Switch to Facebook Login.
- In the confirmation window, select Certain permissions aren’t available with this product as the reason.
- In the Select the permissions you require field that appears, select email and public_profile.
- Select Switch to Facebook Login.
- Enter the Kinde callback URL in the Valid OAuth Redirect URLs field.
- Select Save Changes.
- In the red warning message at the top of the page, select Get Advanced Access. The Permissions and Features page opens.
- Next to the email entry:
- Select Request advanced access.
- In the confirmation window, select the checkbox and enter your facebook password.
- Select Submit.
- Next to the public_profile entry:
- Select Request advanced access.
- In the confirmation window, select the checkbox and enter your Facebook password.
- Select Submit.
- In Kinde, go to Settings > Authentication.
- On the Facebook tile, select Configure.
- Paste the Client ID and Client secret from the Facebook app into the relevant fields.
- Select which applications will allow Facebook SSO.
- Select Save.
Users will now see Facebook as an option to sign up and sign in to the selected applications.
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.
Authentication and access