Needs review
Project:
Single Sign-On (aka SSO or Single Sign On)
Version:
6.x-1.0-rc1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Jan 2011 at 10:20 UTC
Updated:
13 Mar 2011 at 20:24 UTC
I'm trying to set this up for two different domain names with shared user tables. Immediately after I copy and enter Controller URL and Private key from controller site to a client site, it redirects me to:
http://client.comhttp//controller.org/singlesignon/claim?nonce=938ef936b...
The problem part in the path, I believe, is 'http://client.comhttp//controller.org' There is no any seperator between 'http://client.com' and 'http//controller.org' and there is missing ':' in 'http//controller.org'.
Comments
Comment #1
ad4m commentedHello,
I've had the same issue with multilingual, multidomain installation. The problem is singlesignon.inc, at line: 135. Redirect URL is being created there using
url(...)function:If you have multilingual site with domain based language negotiation the
url(...)function by default returns the absolute path.There is easy workaround on that:
You just need to include the $base_url into the path pased to url function. It will work in non-multilingual installation as well.
Comment #2
yngens commentedad4m, thanks for the suggestion. I gave up to the module, but I hope someone can test and review this and submit as a patch, so that the module maintainer could get it into the official release.