Hello there,

I am using SSO to facilitates users to use one login id/password for 3 websites. The problem I am facing is that when users get registered on the client site they don't get automatically logged in. They will be redirected to home page (as I have set it up) but they won't get logged in.
If user registers on controller site then login after registration is working fine.

While registering on client site I can see that it does ping the controller site (in progress bar it shows connecting to controller-site-name.com) but then it simply gets redirected without login.

Anyone have idea how can this be solved?

Comments

meba’s picture

I spent quite a lot of time on it and simply - it cannot. There might be hackish ways but basically, this is the limitation of SSO.

mstrelan’s picture

Perhaps this helps someone to solve this problem - http://drupal.org/node/611580#comment-3267690
It includes logic for handling password reset links, so it could probably do something similar with auto account activation

dunx’s picture

I'll unhelpfully add that it does not seem possible to trick the session table in to logging the user in after registering on a client site. I spent a good two weeks trying.

I'm currently working through an alternative solution of performing the registration on the master site and redirecting to the user's profile page on the referring client site with some hook_form_alter magic. That now works for a successful registration, although I suspect that's not the end of my problems.

Roll on a full D7 SSO solution!

dunx’s picture

I don't have this working how it should, but I do have a workable solution that registers the users via the master site before redirecting them back to the source site. No core or module hacks, but quite a lot of custom module and template tweaks to get it looking right.