Search Results :

×

Joomla OAuth Client Integration with Facebook Single Sign-On (SSO)


Integration of Facebook Single Sign-on (Facebook SSO) with Joomla using OAuth 2.0 Protocol. The miniOrange Joomla OAuth/OpenID Connect Single SIgn-on (SSO) plugin makes it simple to set up Facebook SSO into Joomla and enable secure login into Joomla. As a result, users can log in to Joomla and access the site by authenticating with Facebook as an OAuth Provider.

Visit our Joomla OAuth Client Plugin page to learn more about the features and Pricing plans we offer for the Joomla OAuth Single Sign-on (OAuth & OpenID connect) plugin.

Joomla OAuth Client Handbook

Please refer our detailed Handbook for the Joomla OAuth/OpenID Single Sign-On plugin, which gives an in-depth explanation of the various features of the plugin. You can get to the handbook at anytime directly from the plugin's UI for quicker access.

Pre-requisites : Download And Installation

Setup Facebook as OAuth Provider with Joomla OAuth Client

Follow the steps given below to setup the Joomla OAuth Client plugin. You can also refer to this Setup video for configuring the plugin.

1. Download and Setup Joomla OAuth Client

  • Download the zip file for the miniOrange OAuth Client plugin for Joomla from the given link.
  • Login into your Joomla site’s administrator console.
  • From Menu, click on System, then under Install section click on Extension.
  • Facebook Single Sign-On (SSO) OAuth/OpenID
  • Upload the downloaded zip file to install the Joomla OAuth Client plugin.
  • Facebook Single Sign-On (SSO) OAuth/OpenID
  • After successful installation of plugin, click on Start Using miniOrange OAuth Client plugin button.
  • Facebook Single Sign-On (SSO) OAuth/OpenID
  • Under Configure OAuth tab. Select Facebook as an OAuth Provider.
  • Facebook Single Sign-On (SSO) OAuth/OpenID
  • Copy the Callback/Redirect URL from Configure OAuth tab of Joomla OAuth Client plugin. We will require it later.
  • Facebook Single Sign-On (SSO) OAuth/OpenID

2. Configure Facebook as OAuth Provider

  • Login/ Signup in Facebook developer console at https://developers.facebook.com/.
  • Joomla Facebook OAuth SSO, Login/ Signup in Facebook
  • Go to My APPS Add New App.
  • Joomla Facebook OAuth SSO, Add New App
  • Click on Create app to create a new app for Joomla OAuth Client.
  • Joomla Facebook OAuth SSO, Create New Application
  • Select what your app is going to work for Joomla site. Then click on Continue button.
  • Joomla Facebook OAuth SSO, Select App
  • Enter the required details for facebook SSO application and then click on Create App button.
  • Joomla Facebook OAuth SSO, Enter Details of application
  • Complete the security check and then click on Submit button.
  • Joomla Facebook OAuth SSO, security check
  • Select option Facebook Login by clicking on the Set up button.
  • Joomla Facebook OAuth SSO, Facebook login
  • Select Facebook Login -> Settings under Products option in the navigation bar.
  • Joomla Facebook OAuth SSO, Facebook login Settings
  • Under Configure OAuth tab, enter the Callback/Redirect URL (from your miniOrange Joomla OAuth Client plugin here ) in the Valid OAuth Redirect URIs field. Click on the Save button to save your configurations.
    Most importantly, your Callback/Redirect URI should be https and not http. It is mandatory while configuring Facebook as an OAuth Server.
  • Joomla Facebook OAuth SSO, Redirect URL from Configure OAuth tab
  • Go to Settings -> Basic to view your App Id and App Secret Refer to the image below).
  • Joomla Facebook OAuth SSO, App ID and App Secret
  • Enter your Privacy Policy URL in the Privacy Policy URL field and choose a category from the dropdown in the Category field. Then, click on Save Changes button to save your configurations
  • Copy your App ID and App Secret which is your Client ID and Client Secret and save it in your miniOrange OAuth Client Plugin.
  • Joomla Facebook OAuth SSO, App ID and Secret
  • Change you app status from In Development to Live by clicking on OFF as shown in the image below. Then, click on Confirm to confirm your change of status.
  • Joomla Facebook OAuth SSO, Confirm status

3. Integrating Joomla with Facebook

  • Now go to the Joomla OAuth Client plugin, under Configure OAuth tab, enter the all the details. Then click on Save Settings and then click on Test Configuration.
  • Salesforce Single Sign-On (SSO) OAuth/OpenID

    Facebook Endpoints and Scope:


    Client ID : See above
    Client Secret : See above
    Scope: public_profile email
    Authorize Endpoint: https://www.facebook.com/dialog/oauth
    Access Token Endpoint: https://graph.facebook.com/v2.8/oauth/access_token
    Get User Info Endpoint: https://graph.facebook.com/me/?fields=id,name,email,age_range,first_name,gender,last_name,link
    Set Client Credentials: In Both (In Header and In Body)

4. Test SSO and Attribute Mapping

  • Once you click on Test Configuration button, you will be able to see the attributes in the Test Configuration output as follows.
  •  Salesforce Single Sign-On (SSO) OAuth/OpenID
  • Now you have to do Attribute Mapping to perform SSO. Select the attribute name for Email and Username from dropdown. Then click on Save Attribute Mapping button.
  •  Salesforce Single Sign-On (SSO) OAuth/OpenID
  • Now you can use Login / SSO URL to perform SSO.
  •  Salesforce Single Sign-On (SSO) OAuth/OpenID
  • In this Guide, you have successfully configured Joomla Facebook Single Sign-On (SSO) by configuring Facebook as OAuth Provider and Joomla as OAuth Client using our Joomla OAuth Client plugin. This solution ensures that you are ready to roll out secure access to your Joomla site using Facebook login credentials within minutes.
  • Now logout and go to your Joomla site's pages where you have added this link. You will see a login link where you placed that button. Click on this button to perform SSO.
  • Congratulations, you have successfully configured the miniOrange OAuth Client plugin with your Facebook OAuth Provider.
  • Click on the Upgrade Plans tab to check out our complete list of features and various licensing plans. OR you can click here to check features and licensing plans.
  • If you want to purchase any of the paid version of the plugin, you have to register/login with us in Account Setup tab. OR you can register/login Here .
  • In case, you are facing some issue or have any question in mind, you can reach out to us by sending us your query through the Support button in the plugin or by sending us a mail at joomlasupport@xecurify.com.

You have successfully configured Joomla as OAuth Client for achieving Joomla Facebook Single Sign-On (SSO) with Joomla for user authentication.


In this guide, you have successfully configured Joomla Facebook Single Sign-On (SSO) by configuring Facebook as OAuth Provider and Joomla as OAuth Client using our Joomla OAuth Client plugin.This solution ensures that you are ready to roll out secure access to your Joomla site using Facebook login credentials within minutes.

Additional Resources


Mail us on joomlasupport@xecurify.com for quick guidance(via email/meeting) on your requirement and our team will help you to select the best suitable solution/plan as per your requirement.

Hello there!

Need Help? We are right here!

support
Contact miniOrange Support
success

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to info@xecurify.com