• Resolved steverhu

    (@steverhu)


    Hello,

    We are using your plugin to authenticate users against our CAS server, but are having difficulties. After a successful authentication the browser return us back to the login page instead of seeing the website. The entire website is behind a login for the moment. We are using the latest version of WordPress and plugin.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Paul Ryan

    (@figureone)

    You can always access WordPress authentication by visiting /wp-login.php?external=wordpress
    That should get you access again. Next steps would be determining why the CAS server is failing. First thing I’d look at is the CAS server version (this is used by the phpCAS library to determine how to communicate with the CAS server).

    Thread Starter steverhu

    (@steverhu)

    I have checked with our people working on cas servers and the authentication works fine, but it seems that there is an issue with the redirect. Before I had the entire website behind a login with wordpress login enabled (just in case). This time I made several pages public and disabled the wordpress login. When trying to visit the private pages, the user automatically get our cas login page (which is fine). According to our server logs the user gets authenticated, but the user receives this error in browser: ERR_TOO_MANY_REDIRECTS (error code comes from Chrome). Do you know what the cause is for too many redirects? Our cas server version is 4.2.2

    Plugin Author pkarjala

    (@pkarjala)

    Hi @steverhu, a few questions:

    – Are you serving your website via HTTPS? If so, is it behind any sort of reverse proxy?
    – Are you able to trace where the redirects are sending you before this error occurs in the browser? This can usually be determined from a combination of the web server log files and by using the Network Traffic Inspector Tool in most modern web browsers.

    Please let us know if you need additional info!

    Plugin Author pkarjala

    (@pkarjala)

    HI @steverhu, checking in if you have any additional information. Please let us know!

    Plugin Author pkarjala

    (@pkarjala)

    Marking closed due to 6 months with no follow up; please open a new request if you need an update, and reference this issue thread.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘CAS: Authenticated, but returned to login page’ is closed to new replies.