ZF-3925: Ability to override self URL on Zend_OpenId
Description
At the moment this fetches from the $_SERVER supervariable directly. It would be nice to have a $selfUrl static in the style of the $exitOnRedirect that allows the return url to be defined cleanly if it's different than expected.
Comments
Posted by Ian Barber (ibarber) on 2008-08-11T09:42:54.000+0000
Patch for zend_openid class with the above suggestion implement.
Posted by Dmitry Stogov (dmitry) on 2008-12-01T02:32:56.000+0000
Why do you need it? Doesn't the second argument of Zend_Consumer::login($id, $returnTo) work for you?
Posted by Ian Barber (ibarber) on 2008-12-01T03:02:43.000+0000
Because it assumes that the URL in the server variable is the URL that user is trying to auth against. It's a subtle condition, but it's we had it when the auth was being done on a different address than that user was viewing (the auth code was centrally located, but being used as a service by a number of different domains, for a shared sign on type solution).