Configure Salesforce as an OAuth/OpenId Connect Server in Joomla
miniOrange Joomla OAuth/OpenID plugin gives the ability to enable OAuth/OpenID Single Sign On for Joomla site. Joomla OAuth Client plugin is compatible with all OAuth/OpenID Providers. Here we will go through a guide to configure SSO between Joomla and Salesforce. By the end of this guide, Salesforce users should be able to login and register to Joomla site.
If you have any doubts or queries you can contact us at firstname.lastname@example.org. We will help you to configure the plugin.
Step 1: Install OAuth Client plugin. (If you have already installed the plugin, you can skip to step 2)
Download the zip file of the miniOrange OAuth Client plugin for Joomla from the link here.
Login into your Joomla site’s administrator console.
Go to Extension Manage Install in the top navigation bar to install the plugin.
Upload the downloaded zip file to install the OAuth Client plugin.
You will be presented with the following screen. Go to Setup.
Now, Go to Platform Tools -> Apps -> App Manager.
Click on New Connected App.
You will be taken to the application settings page. Configure the application like so.
Check the Enable Oauth Settings and you will be shown more options to configure, Such as, Callback URL (Enter from miniOrange Oauth Client plugin which you copied in the last step) and Scopes. Select the scopes as required. Make sure that the same scopes are also added in miniOrange Oauth Client plugin and then scroll all the way to the bottom to click on Save.
You will be taken to Application Management page. Here, you will find Consumer ID and Consumer Secret.
Copy these credentials and keep it handy because you will need it in the next step.
You have successfully completed your Salesforce App OAuth Server side configurations.
Paste the Client ID and Client Secret which you copied in the last step and save it in the respective fields and then click on the Test Configuration button.
Now copy the email and name attributes you got in the test configuration and save these attributes in Email Attribute and Username Attribute text field respectively. Now click on the Save Attribute Mapping button to save your configurations.
You would find appropriate URL for performing the SSO after selecting the OAuth/OpenID Connect provider in the Login URL field (After completing test configuration please copy the Login URL and Add a button on your site login page).
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.
Congratulations, you have successfully configured the miniOrange OAuth Client plugin with your desired OAuth Provider.
Click on the Upgrade Plans tab to check out our complete list of features and various 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.
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 email@example.com.