Forums » Plugin: Authorizer » setting up CAS first time: getting CAS authentication failed error

  • Resolved mkoob

    (@mkoob)


    I am trying to set up a new wordpress installation to log into a CAS server. When I click the ‘log in with CAS’ button I get a blank page with the following error messages.

    Warning: DOMDocument::loadXML(): Empty string supplied as input in …/wp-content/plugins/authorizer/inc/CAS-1.3.4/CAS/Client.php on line 3167
    CAS Authentication failed!

    Warning: Cannot modify header information – headers already sent by (output started at –…/wp-content/plugins/authorizer/inc/CAS-1.3.4/CAS/Client.php:3167) in …/wp-content/plugins/authorizer/inc/CAS-1.3.4/CAS/Client.php on line 1664
    CAS logout wanted!

    It does not go to the CAS server’s login page with the username password fields so I have not entered any credentials yet but I get the CAS authentication failed message.

    I am checking if the settings for the CAS server are correct but I wonder if you could tell which settings might be causing the error.

    Thanks
    mk

    https://wordpress.org/plugins/authorizer/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter mkoob

    (@mkoob)

    I found my error. I had selected CAS version 3.0 but the server was CAS version 2.0. Once I set it to the correct version it worked beautifully.

    Thanks for the great plugin.

    Mk

    Plugin Author Paul Ryan

    (@figureone)

    Cool, glad you tracked down the issue!

    felipejara19

    (@felipejara19)

    Hello, I am trying to set up a new wordpress installation to log into a CAS server. When I click the ‘log in with CAS’ button I get a blank page with the following error messages.

    CAS Authentication failed!

    You were not authenticated.

    You may submit your request again by clicking here.

    If the problem persists, you may contact the administrator of this site.

    CAS Authentication failed!

    You were not authenticated.

    You may submit your request again by clicking here.

    If the problem persists, you may contact the administrator of this site.

    Warning: Cannot modify header information – headers already sent by (output started at /srv/disk3/1316611/www/planificaciones.romacl.com/wp-content/plugins/authorizer/vendor/CAS-1.3.4/CAS/Client.php:80) in /srv/disk3/1316611/www/planificaciones.romacl.com/wp-content/plugins/authorizer/vendor/CAS-1.3.4/CAS/Client.php on line 1664

    CAS logout wanted!

    You should already have been redirected to the CAS server. Click here to continue.

    My CAS Server version: CAS Server 3.5.2 and I setting CAS server version 3_0

    Help me please.

    Plugin Author Paul Ryan

    (@figureone)

    Can you try enabling debugging in phpCAS and see if you can get the server to provide more information?
    https://wiki.jasig.org/display/CASC/phpCAS+troubleshooting

    Another thing to try would be different values for the “CAS server” option.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘setting up CAS first time: getting CAS authentication failed error’ is closed to new replies.