When one of the shared domains has another language defined, the initial redirection will fail because the url() function is not used in the correct way.

The URL returned is in the following form:
www.domain.comhttp://www.otherdomain.com/singlesignon/initial_check?slave_session=&sin...
%2Fwww.otherdomain.com%2Fadmin%2Fsettings%2Fsinglesignon

I've attached a patch to fix this problem.

CommentFileSizeAuthor
singlesignon-20081209.patch511 bytesAnonymous (not verified)

Comments

Anonymous’s picture

Title: Shared sign-on isn't working in conjunction with domain languages. » Redirect error with domain languages.
ar-jan’s picture

I can confirm that the patch works as described, thanks.

ar-jan’s picture

Status: Needs review » Reviewed & tested by the community

Marked #264360: Conflict with Domain Languages? as duplicate (though older) and I suppose we can change status to tested.

rapsli’s picture

I had problems with the following lines:

//if (function_exists('t') ? $op == t('Log in') : $op == 'Log in') {
      if($op == 'Log in' || $op == 'Einloggen'){

The outcommented line is the original line, the line below is my fix. It seems as if the t function is not active yet. When you have the login button translated this if statement is never going to work out...