Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter maxtheax

    (@maxtheax)

    I’m currently using this plugin on the site I’m using Force Login on, and this one on the site I’m running the server on. (Though I may switch to the miniOrange OAuth plugins in the end, but I suspect it’s going to be a similar issue)

    The reason the redirect works is because Force Login is currently disabled, for the purposes of showing you what is supposed to happen.

    I was a little unsure of how to configure and use v_forcelogin_bypass, which is why I went with v_forcelogin_whitelist.

    This is what I currently have (I was attempting to whitelist the about page as well, for testing purposes, but was unable to):

    function my_forcelogin_whitelist( $whitelist ) {
     $whitelist[] = site_url( '/?auth=sso' );
     $whitelist[] = site_url( '/about/' );
      return $whitelist;
    }
    add_filter('v_forcelogin_whitelist', 'my_forcelogin_whitelist', 10, 1);

    Thanks again for your help.

    Side note: if you are willing, and it would be helpful to you, I would happily provide you with a login to my site dashboard.

    • This reply was modified 6 years, 9 months ago by maxtheax.
    • This reply was modified 6 years, 9 months ago by maxtheax.
Viewing 1 replies (of 1 total)