Overview
Integrating Facebook as an identity provider offers your users a convenient and secure way to access your Pocket Script application. This feature leverages Facebook’s OAuth 2.0 protocol, ensuring a streamlined authentication process while maintaining high security standards.Getting Facebook App ID and Secret Key ?
-
Log in to Facebook for Developers and either select an existing app or create a New App
if you already have an existing app then skip to step 3
-
Create a New App
-
Then Setup Facebook Login
-
Select
Webas we are configuring Facebook login for the web version
-
Give your site URL and click on
save- You can ignore the other quickstart steps
- Navigate to
Settings -> Basicon the sidebar
-
Simply copy your
App IDandApp Secret
-
Finally, Go to Facebook Login -> Settings (No. 4 in the above image) to add a valid OAuth redirect URL to finalize our settings
-
For the main domain install at example.com, enter your URL as:
-
For sub-domain install at subdomain.example.com, enter your URL as
-
For subfolder install at example.com/subfolder, enter your URL as
-
For the main domain install at example.com, enter your URL as:
Final Steps
Paste the copied keys in your admin panel by following the steps below- Log in to your Admin Interface (Pocket script instance)
- Navigate to
Settings -> Configuration -> Web App Configurationfrom the admin sidebar - Scroll down to the
Social LoginSection - And paste the copied
Facebook App IDandFacebook Secret Key
