PhpCAS on Codeigniter |
iam trying to use phpcas lib for codeigniter https://github.com/eliasdorneles/code-ig...as-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(); |
Messages In This Thread |
PhpCAS on Codeigniter - by dalerein - 09-13-2018, 12:06 AM
RE: PhpCAS on Codeigniter - by InsiteFX - 09-13-2018, 04:55 AM
|