Default site problem

transformative - March 23, 2009 - 13:23
Project:Fierce SSO
Version:5.x-1.1
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

When I log into any of my subsites, fierce_sso isn't logging me into the default domain as well (even though it properly logs me into the other subsites).
When I log into the default site, it properly logs me into all of my subsites.

Here is my setup:

Domains to use for Fierce Single-Sign-On:
multisite.example.com
multisite.example.com/site1
multisite.example.com/site2

In my codebase:
sites/default
sites/multisite.example.com.site1
sites/multisite.example.com.site2

In my Database:
www_sessions ( with $db_prefix = array('default' => 'www_',)
site1_sessions
site2_sessions

So when I log into multisite.example.com, it logs me into both site1 and site2.
However, if I log into site1, it doesn't log me into multisite.example.com (though it does properly log me into site2).

Is there any way around this problem? Has anyone else experienced this?

I also tried changing the first Domain to Use for Fierce_SSO to read multisite.example.com/default instead.

Thanks for the module!

...
Kevin.

#1

transformative - March 24, 2009 - 13:42

Having failed to have success with both the Fierce_SSO and Shared Sign On modules, I decided to give this suggestion ("Painless Sign-On") a try: http://drupal.org/node/181176. It seems to work well for me in my configuration, and only requires one extra line in settings.php (which needs to be modified for sharing users tables anyway) and no special module. I'm hoping I don't run into any problems, but it sounds like there are drawbacks to all approaches.

Still, if anyone has any suggestions for getting Fierce_SSO to work, that would be great too.

#2

eli - March 27, 2009 - 20:17

That sounds like it could be a bug in my code. I haven't done a whole lot of testing with installs in different directories (rather than domains). I'll make a note to look into that.

 
 

Drupal is a registered trademark of Dries Buytaert.