This particular fix is actually in the 1.0 maintenence branch, which is
probably a less risky thing to be running in production:
http://code.sixapart.com/svn/openid/branches/1.0/perl/
Trunk right now has some half-finished work on higher-level extension
support along with the refactoring you noticed; it hasn't been
extensively tested yet.
delayed_return => 1,
in the call to check_url.
After adding it, I was able to make it function with Google.
This is with the svn versions you mentioned in the previous post. I
have not tried it with other versions.
Hopefully I don't need to turn on or off the delayed return per
provider.
Thanks for everyone's help!
Does the new version work with Google without delayed_return?
Your original report seemed to be a discovery failure, but if you had to
set delayed_return then this suggests a different issue. What error do
you get in this case?
I just installed the latest from svn, and it did not work without
delayed return.
> Your original report seemed to be a discovery failure, but if you
> had to
> set delayed_return then this suggests a different issue. What error do
> you get in this case?
It seems to happen when the user isn't already logged into Google, and
then attempts to authenticate. But if you haven't successfully logged
in before, my debug output is:
[DEBUG Net::OpenID::Consumer] fail(bad_mode)
The openid.mode argument is not correct validate errorbad_mode: The
openid.mode argument is not correct
Hope this helps, let me know how to get more/better information. I'm
still a little fuzzy on exactly what's happening behind the scenes, so
sorry if I'm missing some information.