Integrating with Facebook Identity
Pathfix allows you to easily add end-user OAuth based integration, handling authorization and enable communication between your app and Facebook Identity (SSO) in just a few minutes.
Before proceeding, you will first need to register your application with Facebook here: https://developers.facebook.com/
Please note: You will need to create a developer account with Facebook and add an App for Facebook Login to proceed
Important
If you are working with Facebook and Instagram Graph API, make sure you create a new app for each in Facebook developer portal
- Click on My Apps dropdown and choose your App from the list
![Image: Facebook App Image: Facebook App](https://archbee-doc-uploads.s3.amazonaws.com/E6H_--BmYJWG_yGaOUOxt/6scrvsWMFenX9U2oa62pL_image.png)
- From the App Dashboard, click on Settings in the left navigation
- Select Basic
![Image: Settings Image: Settings](https://archbee-doc-uploads.s3.amazonaws.com/E6H_--BmYJWG_yGaOUOxt/dH2uKyEQzd8jrLQppnqcG_image.png)
- Copy the App ID and App Secret for use in Pathfix
- This is your Client ID and Client Secret that will be used in Pathfix SSO setup
![Image: Facebook ClientID and ClientSecret Image: Facebook ClientID and ClientSecret](https://archbee-doc-uploads.s3.amazonaws.com/E6H_--BmYJWG_yGaOUOxt/fH5jMt7pe5frH6O2CDe2g_image.png)
- Under App Domain, enter pathfix.com and hit enter
- Save the settings and proceed
![Image: App Domain Image: App Domain](https://archbee-doc-uploads.s3.amazonaws.com/E6H_--BmYJWG_yGaOUOxt/ITWpMfuLztAEiLCELHjHV_image.png)
- Click on Facebook Login from the list of products on the left navigation bar
- Select Settings
![Image: Settings Image: Settings](https://archbee-doc-uploads.s3.amazonaws.com/E6H_--BmYJWG_yGaOUOxt/E1W5PVid8vQEd1fFuymQD_image.png)
- In Client OAuth Settings, navigate to Valid OAuth Redirect URIs
- Enter the following Pathfix Redirect URI https://labs.pathfix.com/integrate/command
- Save the settings
![Image: Facebook Redirect URIs Image: Facebook Redirect URIs](https://archbee-doc-uploads.s3.amazonaws.com/E6H_--BmYJWG_yGaOUOxt/_nuN4VmeLF4dJ9hEPoPgQ_image.png)
For easy SSO integration with Facebook Login, we recommend using the SSO Extension. This documentation will walk you through the SSO Extension setup.
Note: if you have an existing app created in Pathfix, you can skip this next few step and jump to our SSO setup documentation here Single Sign on (SSO) / Social login
- Login to your Pathfix account and click on Add Application
- Add the name of your SaaS and hit Save
- Click on Extensions from the left Nav and select SSO
Adding the SSO/Login functionality to the app is done based on your SaaS stack:
Need help? Reach out to us at [email protected] and we would be happy to assist!
![Doc contributor](https://s3.amazonaws.com/archbee-animals/cat.png)