[TYPO3-core] RFC #9474: Integrate OpenID authentication support to TYPO3 [subdomain solved]
Xavier Perseguers
typo3 at perseguers.ch
Tue Oct 7 15:54:04 CEST 2008
Hi!
>>> I think this should be updated too, I really need it and the snippet
>>> of patch I sent fixes nearly the whole stuff, we just should
>>> understand why the final redirect is done to the host instead of the
>>> subdirectory but the authentication is OK. I really think it would be
>>> worth committing a working sysext and not a restrictive one that will
>>> have to be patched later.
>>
>> "Nearly" is not the solution. :( I do not think we can get "nearly" in.
>
> I think I found the solution. Be patient for a few minutes...
In addition to my change in sv1/, you have to update the final redirect
in class.tx_openid_return.php:
instead of
header('Location: ' . t3lib_div::locationHeaderUrl('/typo3/backend.php'));
use
$backendURL = t3lib_div::getIndpEnv('TYPO3_SITE_URL').'typo3/backend.php';
header('Location: ' . $backendURL);
and both rooted and non-rooted sites will work with openid ;-)
--
Xavier Perseguers
http://xavier.perseguers.ch/en/tutorials/typo3.html
More information about the TYPO3-team-core
mailing list