Maybe nobody else has tried this, but there’s a problem with immediate
mode in the current release of OpenID. If you use it, you’ll get the
first “complete” response correctly, as OpenID::SETUP_NEEDED, but you’ll
get OpenID::FAILURE when you user returns to your site after typing in
his password and whatever.
The reason is that OpenID’s consumer.rb deletes an important piece of
state information before sending the OpenID::SETUP_NEEDED, so nothing
that is returned will be successful.
I’ve communicated with Brian E., the writer of the library, and it
will be fixed in the next release.
Meanwhile, if anybody (else:-) needs a patch, email me (I’m not going to
type my email address here, but it’s easy to find) and I’ll send you a