mitcho / shibboleth

WordPress Shibboleth plugin
23 stars 23 forks source link

Login to multisite other then the main site #10

Open lukaiser opened 10 years ago

lukaiser commented 10 years ago

The current version seems to allow to login only to the main site and not to the one you requested to login. I created a patch that works fine for my system:

https://dl.dropboxusercontent.com/u/244540/loginToAll.patch

I kind of agree with #7 but I would add a option to every site of the multisite with a checkbox at the top if global options should be used or the ones below. In the function shibboleth_get_user_role I would then check if local or global settings are selected and then return the corresponding. Unfortunately I currently don't have the time to write it. I currently also don't really need it.

jrchamp commented 10 years ago

Yikes! That patch is pretty tough to read with all the whitespace differences.

lukaiser commented 10 years ago

I totally agree! There was to much in it any way. Strange... I changed it. It is the same link.

lukaiser commented 10 years ago

If found an error and changed the patch again.

vabruzzo commented 9 years ago

Hi, this link 404s. I am trying to do this as well, do you have a working link? Thanks!

lukaiser commented 9 years ago

I don't find the patch any more. This is the current version I am using.

I hope it helps!

Lukas

On Thu, Jun 11, 2015 at 5:32 PM, Vincent Abruzzo notifications@github.com wrote:

Hi, this link 404s. I am trying to do this as well, do you have a working link? Thanks!

— Reply to this email directly or view it on GitHub https://github.com/mitcho/shibboleth/issues/10#issuecomment-111174678.

vabruzzo commented 9 years ago

Thanks for the note. As it turns out, I had a 301 set up that prevented logins to sites other than the main site. So everything works now for me without a patch. Thanks