Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When using phpcas-0.6.0-RC4 you need to validate the cas server's certificate. If you don't wish to validate the certificate, you need to explicitly say this.
Here's the error I received:
phpCAS error: phpcas::forceauthentication(): one of the methods phpCAS::setCasServerCert(), phpCAS::setCasServerCACert() or phpCAS::setNoCasServerValidation() must be called. in /home/drupal/drupal.singularity.be/drupal-5.2/modules/cas/cas.module on line 54
So you can choose to run phpCAS::setNoCasServerValidation(), but it would be much better to setup a trust with your CAS server (certificate upload, ...)
Comments
Comment #1
redndahead CreditAttribution: redndahead commentedThis looks like it has been fixed. metzlerd want to verify and close this?
red
Comment #2
metzlerd CreditAttribution: metzlerd commentedCorrect. Sorry that I didn't close this sooner.
Comment #3
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.