Search Results :

×

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

The Joomla OAuth Client plugin uses the OAuth protocol to provide secure access to Joomla sites by enabling Salesforce as the OAuth provider, simplifying the login process. This integration allows users to log in with their Salesforce credentials, eliminating the need for multiple passwords. The plugin also features user profile attribute mapping, and role mapping for access based on organizational roles. For more details about the features of the Joomla OAuth & OpenID Connect Client plugin, please visit our page here. Follow the steps below to set up Salesforce OAuth SSO with Joomla.


In this configuration, Salesforce functions as the OAuth server, while Joomla allows users to log in with their Salesforce credentials by utilizing the Joomla OAuth Client Plugin.

  • Login into your Joomla site’s Administrator console.
  • From left toggle menu, click on System, then under Install section click on Extensions.
  • Now click on Or Browse for file button to locate and install the plugin file downloaded earlier.
  • Installation of plugin is successful. Now click on Get Started!
  • Under Configure OAuth -> Pre-Configured Apps tab, select your OAuth Provider. You can also search for custom OAuth or custom OpenID application in the search bar, and configure your own custom provider.
Get Started with OAuth Client Setup

  • After selecting your OAuth provider, you will be redirected to the Step 1 [Redirect URL] tab. Now copy the Callback/Redirect URL which we will use to configure Microsoft Entra ID as OAuth Server, then click on the Save & Next button.
Get Started with OAuth Client Setup

  • Go to Salesforce Dashboard and log into your Salesforce account.
  • From top right, click on Profile icon, then click on Switch to Salesforce Classic mode.
Salesforce Dashboard

  • From top menu, click on Setup.
Salesforce Setup

  • From left menu, under the Build, click on Create then click on Apps.
Create App

  • Now under Connected Apps click on New button to create new application.
Create App

  • Now enter all the basic information of Application.
Enter App Details

  • For OAuth protocol, you have tick on checkbox of Enable OAuth Settings, and paste the Callback URL here, then select the OAuth Scopes as Access the Identity URL Services.
Enable OAuth Settings

  • Now click on SAVE button. Your application is created.
Save Application

  • Then click on Manage Consumer Details, for Client ID and Client Secret.
Manage Consumer Details

  • Under Consumer Details, you will get Consumer key and Consumer Secret which is our Client ID and Client Secret, respectively.
Consumer key and Consumer Secret

  • Go back to your Joomla Dashboard. Then go to Step 2 [Client ID & Secret].
  • Paste the Client ID, Client Secret and Domain. Also Set Client Credentials In header then click on Save Settings. Once Settings are saved then click on Save Configuration.
Upload IdP
    Metadata

Scope openid email profile
Authorize Endpoint <Salesforce base URL>/realms/{realm-name}/protocol/openid-connect/auth
Access Token Endpoint <Salesforce base URL>/realms/{realm-name}/protocol/openid-connect/token
Get User Info Endpoint <Salesforce base URL>/realms/{realm-name}/protocol/openid-connect/userInfo
Set Client Credentials In Header

  • User Attribute Mapping is mandatory for enabling users to successfully login into Joomla. We will be setting up user profile attributes for Joomla using below settings.
  • Go to Step 3 [Attribute Mapping] tab and click on Test Configuration button.
Upload IdP
    Metadata

  • You will be able to see the attributes in the Test Configuration output as follows.
Upload IdP
    Metadata

  • Now go to the Step 3 [Attribute Mapping] tab and Select the attribute name for Email and Username from dropdown. Then click on Finish Configuration button.
Upload IdP
    Metadata

  • Now go to Step 4 [SSO URL] tab, here copy the Login/SSO URL and add it to your Site by following the given steps.
Upload IdP
    Metadata

  • 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.


ADFS_sso ×
Hello there!

Need Help? We are right here!

support