Hi,
I m using 7.7.8 version of suitecrm. When i try to do CAS integration like below, it does not work. How can solve this issue?
https://wiki.jasig.org/display/CASC/phpCAS
We will need to download the phpCAS libraries to your web server.
Installation
Place the files into modules/Users/authentication/CASAuthenticate directory.
git clone git://github.com/algorgeous/SugarCRM-CAS.git modules/Users/authentication/CASAuthenticate
Edit the config.php file
Add a key for authenticationClass that is set to CASAuthenticate.
'authenticationClass' => 'CASAuthenticate',
Add a ‘cas’ key to the $sugar_config array that is an array holding the values for
your CAS server.
'cas' => array(
'library' => '/path/to/CAS/CAS.php',
'hostname' => 'cas.example.com',
'port' => 443,
'uri' => 'cas',
'changeSessionID' => FALSE,
'proxies' => array(
'https://proxy-cas.example.com',
),
),
dtosun
16 January 2017 07:07
2
I solved my problem.
In config_override.php , there is an default parameter
$sugar_config['authenticationClass']['CASAuthenticate'] = '';
. When i delete it my configuration working good.
But there is an another problem. After integrate CAS, my contact form does not work in my web site. I use wsdl to write parameters to Leads module. Before CAS, everything is working perfect. But after CAS, it does not work.
Error is ; [FATAL] SECURITY: The session ID is invalid
Anybody help me?
dtosun
26 January 2017 13:36
3
When you use CAS authentication and sending data with web service, you should add this parameter to /soap/SoapSugarUsers.php
Before;
$authController = new AuthenticationController();
After;
$authController = new AuthenticationController('SugarAuthenticate');
Hello
@dtosun
can you share the step to integrate CAS in suitecrm version 8.2 ?
How can I add the code in config.php?
My config file Screenshot by Lightshot
Thank You
dtosun
15 November 2022 05:24
5
Look at config_override.php, this setting couldn’t be there and look at library path
‘authenticationClass’ => ‘CASAuthenticate’
Hello,
I have added the code in the config.php but now there is no option with login CAS on suiteCRM login page.
Please check screenshot Screenshot by Lightshot
Thank You @dtosun
lukio
15 November 2022 13:29
7
HI @anup1592 @dtosun , I’m wondering if this CasAtuhenticate plugin should works with suite v8.x
For example LDAP support was not working with suite8 . The core developers added LDAP and SAML authentication support with suite8.2
I believe that the CAS authentication plugin should be re-writed to work with suite8 like LDAP plugin.
Is this right @clemente.raposo ?
Thanks!