Mewp / lightopenid

Automatically exported from code.google.com/p/lightopenid
MIT License
4 stars 12 forks source link

validates fails after adding query parameters to returnUrl #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I added a query parameter to the returnUrl:

$openid->realm     = 'http://localhost';
$openid->returnUrl = $openid->realm.'/index.php?id=content/account/openid';

In validate() this parameter is part of data['openid_return_to'] but missing in 
$this->returnUrl.

$this->data['openid_return_to']: 
http://localhost/index.php?id=content/account/openid&openid.claimed_id=http://nh
nb.de/

$this->returnUrl: http://localhost/index.php?openid.claimed_id=http://nhnb.de/

Original issue reported on code.google.com by HendrikU...@nexgo.de on 26 Sep 2010 at 5:39

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Did you set it again before calling validate() ?

LightOpenID is stateless, so it can't store whatever configuration variables 
you've set.

Original comment by mewp...@gmail.com on 26 Sep 2010 at 6:29

GoogleCodeExporter commented 9 years ago
Sorry, no, i did not.

Thank for the help, it works now.

Original comment by HendrikU...@nexgo.de on 26 Sep 2010 at 8:55

GoogleCodeExporter commented 9 years ago

Original comment by mewp...@gmail.com on 26 Sep 2010 at 9:16