• Resolved sofritek

    (@sofritek)


    Hi Alain-Aymerick FRANCOIS,

    Thanks for developing the Cassify plugin. It has been working as expected, the only piece we are struggling with is Auto Login / Gateway mode.
    The code snippet you have givem for gateway mode is not working as desired.
    if (! isset( $_GET[‘wp_cassify_bypass’] ) ) {
    if (! is_user_logged_in() ) {
    if ( isset($GLOBALS[‘wp-cassify’]) ) {
    $GLOBALS[‘wp-cassify’]->wp_cassify_check_authentication();
    }
    }
    else if (! is_user_member_of_blog() ) {
    if ( isset($GLOBALS[‘wp-cassify’]) ) {
    $GLOBALS[‘wp-cassify’]->wp_cassify_check_authentication();
    }
    }
    }

    Basically we are authenticating using CAS from a portal build in angular and when direct a user for a blog on custom WordPress blog site it does not auto login.
    Any assistance on this?

    Kindly guide further.

    Thank you
    Team Sofritek

Viewing 1 replies (of 1 total)
  • Hi,

    You must bypass url from cache plugin (like WP Total Cache, …) on wich you perform autologin. Caching mechanisms can disrupt the autologin mode.

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Gate Mode Auto Login not working’ is closed to new replies.