Forums
(@vgabruzzo)
9 years, 8 months ago
I figured out how to force the logins to redirect to the child that requested the login initially. You have to change line 249 here: https://github.com/mitcho/shibboleth/blob/master/shibboleth.php to read
if ( function_exists('switch_to_blog') ) switch_to_blog($GLOBALS['current_blog']->blog_id);
This works for multisite. I don’t think it will work for non-multisite installations, which is why it isn’t coded this way already.
Nevermind, what I said only applies if apache requires shibboleth sessions, in which case apache itself does the redirecting. If the plugin is taking care of it then the problem persists.
I was having a similar problem and it turned out to be a rewrite rule regarding http to https.