Closed moaazhomaid closed 5 years ago
Generally a "too many redirects" error is caused by broken session-handling on the application side. It may be that your application server isn't able to store session data. Another common cause is that the application is managing the session id, but phpCAS is also configured to manage the session-id (the last boolean argument to phpCAS::client()).
To verify the authentication process, please try one of the simple example scripts at: https://github.com/apereo/phpCAS/blob/master/docs/examples/example_simple.php
If you are able to get the example authenticating, but not the application, then it is likely an issue in the application's session handling.
@adamfranco thanks for replay I 'll try to troubleshooting by debugging the procedures after take the session-id from server response.
No activity for 6 month
Hi there, sorry for post this issue, may i don't have enough experience with phpCAS. but i got too many redirects after trying to connect my web service with CAS server ver 4
using this configuration:
my Login Page :
this page has already included CAS library and config file
but i got nothing print from those variables $cas_ver, $cas_attr, $cas_usr !
this is phpCAS log debug :
after success cas login the web page https://mywebsite.com/?_app=login stop in loop redirects my phpCAS is ver 1.3.5 @ mywebsite.com my CAS server ver 4 @ sso.mycasserver.com any help please, thanks for that.