I've been struggling with this for a few days now, haven't pinpointed the problem.
I am trying to get OpenID to work in Rails 2.3 and Rails 3, using
ruby-openid
rack-openid
open_id_authentication
I am logging in using my viatropos.myopenid.com account, but it consistently returns this error:
Server http://www.myopenid.com/server responds that the 'check_authentication' call is not valid
What could that be from, it's not a very descriptive error... Does it have to do with something ruby-specific, or is this entirely on the OpenID protocol side of things?
More specifically, I am using Authlogic and ActiveRecord, so could this be a problem with my User or UserSession models somehow? Or is it more to do with the header or request?
In ruby response I'm getting (from puts inside ruby-openid) is:
#<OpenID::Consumer::FailureResponse:0x25e282c @reference=nil,
@endpoint=#<OpenID::OpenIDServiceEndpoint:0x2601984
@local_id="http://viatropos.myopenid.com/", @display_identifier=nil,
@type_uris=["http://specs.openid.net/auth/2.0/signon", "http://openid.net/sreg/1.0",
"http://openid.net/extensions/sreg/1.1",
"http://schemas.openid.net/pape/policies/2007/06/phishing-resistant",
"http://openid.net/srv/ax/1.0"], @used_yadis=true,
@server_url="http://www.myopenid.com/server", @canonical_id=nil,
@claimed_id="http://viatropos.myopenid.com/">, @message="Server
http://www.myopenid.com/server responds that the 'check_authentication' call is not
valid", @contact=nil>
Any tips would be greatly appreciated.
Thanks