• Hello, I work with WordPress 6.2.2, it is a WordPress Multisite with more than 20.000 subsites, authorizer 3.6.3.1 and PHP 8.1. The validation is done by CAS SSO and works correctly, but we detect a seemly random error, where the users don’t get redirected to the login page, we think it may be something wrong configured in the plugin.

    After trying several times it redirects to the CAS.

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

    (@figureone)

    Can you provide more details on what happens to the users that don’t get redirected to the login page? Do they just see a blank screen, or are they redirected somewhere else?

    And do you have this Authorizer option enabled: “Immediately redirect to CAS login form if it’s the only enabled external service and WordPress logins are hidden”

    Thread Starter dacilbf

    (@dacilbf)

    hello, thank you very much for your reply.

    Yes, I have the option “Redirect immediately to login form via CAS.

    It is only external service enabled and WordPress logins are hidden.” In the advanced options I have active “Hide WordPress login form” .

    The problem is random. Users display their blog correctly, but when they try to access the blog by clicking on the “Login” button after putting their credentials in the cas they return to the page where they were previously without being able to access the blog.
    After several attempts they are able to access.

    Plugin Author Paul Ryan

    (@figureone)

    Hm. Do you have a reverse proxy / load balancer setup? I wonder if the PHP session is getting split between multiple backends during the CAS authentication handshaking.

    So when Authorizer tries to send the CAS ticket back for verification, it can’t find it because it’s in the PHP session on a different backend.

    Example https://medium.com/fivesqrd/simple-session-handling-for-load-balanced-php-applications-494cfb3aa6e7

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Login in WordPress’ is closed to new replies.