About two years ago, I developed a plugin that adds an additional driver of a Joomla user authentication. The plugin allows access to the Joomla portal for users of SugarCRM. The installation and configuration of this plugin is very simple, but I have received several comments with requests for help on the process of installation and configuration, this explains the reason for this short post.
The current version of the plugin is compatible with Joomla version 1.7 and 2.5 and supports SugarCRM versions: 6.1, 6.2 CE/PRO/ENT. In one of the comments received, someone asked me if it was supported version 6.5.8 of SugarCRM, this evening I had the opportunity to do a test with a positive result, but I was able to test only the edition Community. But I think it should also work with other editions, the API should be the same.
Requirements before proceeding with the installation and configuration are:
- Connection to the Internet;
- An instance of Joomla 1.7 or 2.5;
- An instance of SugarCRM supported by the J-SugarCRM Authentication Plugin;
- A SugarCRM SOAP service endpoint (eg http://www.example.com/soap.php?wsdl);
- Instances of the CMS and CRM should be visible at the network layer (http protocol).
Installation and Configuration
To install the plug-in is required to access the control panel of Jommla by an admin user. In Figure 1 and 2 show the installation of the plugin.
I decided to do the installation by entering the address (http) of the plugin, which in this case is:
You can still follow the other installation options.
In Figure 3 and 4 there is shown the configuration of the plugin. The most important parameter is the address of SugarCRM SOAP service, in particular the WSDL document. If you want to test the plugin, you can use the instance of SugarCRM CE (version 6.5.4) deployed on the cloud of Red Hat at:
- Application URL https://sugarcrmpgsql-shiruslabs.rhcloud.com
- Web Services SOAP URL https://sugarcrmpgsql-shiruslabs.rhcloud.com/soap.php?wsdl
After you save the configuration, you can perform an authentication test. The configuration shown in Figure 4 is the standard one, for an edition of SugarCRM Community.
Test access to Joomla
At this point you can test authentication on Joomla, using a user defined on SugarCRM. In case you have decided to use my SugarCRM instance, you could use the following credentials to run the test:
- Username: will
- Password: will
In Figure 5 and 6 show the login form and the next page after authentication.
Conclusion
In this short post I hope I was good at explaining the process of installing and configuring the plugin integration between Joomla and SugarCRM. All your comments are well appreciated.






antonio, thanks for this installation guide. it worked with me when i used the URL soap you posted https://sugarcrmpgsql-shiruslabs.rhcloud.com/soap.php?wsdl
but when i opened the page after the authentication “figure 6″ it was empty, there was no profile and settings. anways, i have a question about SugarCRM SOAP service endpoint, what does it mean? how do i use it? from where do i find it? can you explain more?
im using SugarCRM community edition and im using it on a local host. the local host im using for joomla is different from the one im using for SugarCRM.
i would relly appreciate your help in this. Thank you!!
Hi Noha,
Authentication has been so successful, right? You do not see the user’s profile, that might be a configuration problem of Joomla login module, in any case you should see the user from Joomla users.
This plugin uses the web services (soap) of SugarCRM to execute the login process. All information on these services is available on the website of Sugar and also on some other article written by me. What is your goal? You can make an outline? If you have installed SugarCRM on your local machine, then the web service address will look like: http://localhost:port/soap.php?wsdl
Bye,
Antonio.
Hello Antonio,
what I understand about this Plugin is that i can allow contacts from my contacts module to have username and passord to access joomla websit, correct me if I’m wrong.
I want this to happen, and i want them when they log into Joomla they can acces some of the modules of SugarCRM
Now i understand what to do in joomla, but on the other hand, on SugarCRM understand that i need to make new fields in the contacts module, which will match Portal User API right? It appears in figure 4, but you left it empty, why?
Hello Noha,
The plugin allows access to Joomla only for users of SugarCRM CE and not contacts. The contacts of SugarCRM can access Joomla only for the Professional Edition and Enterprise editions of SugarCRM. In this case, then you must set the plugin configuration values for the parameters Portal User API.
It would be possible to modify SugarCRM CE to allow access to Joomla to contacts of SugarCRM.
To access the data of the modules SugarCRM module is required ad hoc, it is not the goal of this plugin.
I hope I’ve explained the purpose of the plugin.
Bye,
Antonio.
ok, so if users can access the Joomla website, they will be able to view all the module content?
I tried logging in with the Admin account and other regular accounts but i get “Http error 500″
Users who will access web content, not the data of SugarCRM. This plugin is a driver authentication.
To try to understand the error http you should check the log files of Joomla and SugarCRM.
Bye,
Antonio.
As this plugin uses the web services available to SugarCRM, you can easily allow access to your Joomla portal users. This plugin is a good support to Joomla in terms of SugarCRM.
Thanks for finally talking about >How to install
and configure J-SugarCRM Authentication Plugin | Antonio
Musarra’s Blog <Liked it!