![]() |
PhpCAS on Codeigniter - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: External Resources (https://forum.codeigniter.com/forumdisplay.php?fid=7) +--- Forum: Addins (https://forum.codeigniter.com/forumdisplay.php?fid=13) +--- Thread: PhpCAS on Codeigniter (/showthread.php?tid=71682) |
PhpCAS on Codeigniter - dalerein - 09-13-2018 iam trying to use phpcas lib for codeigniter https://github.com/eliasdorneles/code-igniter-cas-library but when iam trying to testing it on controller it stuck on success login view and its doesnt redirect back to my apps. here is the log and the code code. Code: $this->load->library('cas'); log: C0C1 .START phpCAS-1.1.3 ****************** [CAS.php:470] C0C1 .=> phpCAS::client('2.0', 'sso.xxxx.com', 443, '/casadfs') [Cas.php:55] C0C1 .| => CASClient::CASClient('2.0', false, 'sso.xxxx.com', 443, '/casadfs', true) [CAS.php:373] C0C1 .| | Starting a new session [client.php:600] C0C1 .| <= '' C0C1 .<= '' C0C1 .=> phpCAS: ![]() C0C1 .<= '' C0C1 .=> phpCAS::forceAuthentication() [Cas.php:74] C0C1 .| => CASClient::forceAuthentication() [CAS.php:893] C0C1 .| | => CASClient::isAuthenticated() [client.php:869] C0C1 .| | | => CASClient::wasPreviouslyAuthenticated() [client.php:975] C0C1 .| | | | no user found [client.php:1111] C0C1 .| | | <= false C0C1 .| | | no ticket found [client.php:1028] C0C1 .| | <= false C0C1 .| | => CASClient::redirectToCas(false) [client.php:878] C0C1 .| | | => CASClient::getServerLoginURL(false, false) [client.php:1128] C0C1 .| | | | => CASClient::getURL() [client.php:361] C0C1 .| | | | | Final URI: http://localhost/sbis/trunk/src/app/login/testSSO2 [client.php:2686] C0C1 .| | | | <= 'http://localhost/sbis/trunk/src/app/login/testSSO2' C0C1 .| | | <= 'https://sso.xxxx.com/casadfs/login?service=http%3A%2F%2Flocalhost%2Fsbis%2Ftrunk%2Fsrc%2Fapp%2Flogin%2FtestSSO2' C0C1 .| | | Redirect to : https://sso.xxxx.com/casadfs/login?service=http%3A%2F%2Flocalhost%2Fsbis%2Ftrunk%2Fsrc%2Fapp%2Flogin%2FtestSSO2 C0C1 .| | | exit() C0C1 .| | | - C0C1 .| | - C0C1 .| - iam stuck at this log the CAS didnt print my $user = $this->cas->user(); RE: PhpCAS on Codeigniter - InsiteFX - 09-13-2018 That library is all out dated code. All of the code would need to be updated to the new CodeIgniter code. Also allow of things will not work if your using localhost. |