[Code] problem with PHP version
Mathieu Jobin
somekool at gmail.com
Thu Feb 17 17:35:11 UTC 2011
Hi,
I'm using openid/php-openid found on github. the example/consumer
works fine but when I take that code and incorporate within my
application, I get strange behaviour.
I should mention I already did similar work in Ruby for another
application. I don't know what I am doing wrong this time.
Google returns me a "400 Bad Request" and myOpenId says...
The authentication request did not provide a valid return URL. The
provided URL washttp://ubertor.dev:3000/admin?|=login/login/with_openid_complete&janrain_nonce=2011-02-17T17%3A07%3A36ZJwy70c.
Use your browser's back button to return to the requesting site and
inform them of this problem.
AOL do accept to redirect me back, but returns a similar error ....
OpenID authentication failed: return_to does not match return URL.
Expected http://ubertor.dev:3000/admin?|=login/login/with_openid_complete,
got http://ubertor.dev:3000/admin?|=login/login/with_openid_complete&janrain_nonce=2011-02-17T17%3A23%3A43ZrrEWId
Yahoo says similar...
OpenID authentication failed: return_to does not match return URL.
Expected http://ubertor.dev:3000/admin?|=login/login/with_openid_complete,
got http://ubertor.dev:3000/admin?|=login/login/with_openid_complete&janrain_nonce=2011-02-17T17%3A28%3A11ZhkKux8
I'm kinda stuck there, it should work at this point
any idea how I could fix this ?
thank you
--
Mathieu Jobin
More information about the Code
mailing list