rails 4 openid problem

Hi.

After update in Gemfile rails gem from 3.2.6 to 4.0.0.

Registration by openid not working.

Log from console:

I, [2013-06-30T17:56:33.632030 #23279] INFO – OpenID: Error attempting to use stored discovery information: OpenID::TypeURIMismatch I, [2013-06-30T17:56:33.632142 #23279] INFO – OpenID: Attempting discovery to verify endpoint I, [2013-06-30T17:56:33.632192 #23279] INFO – OpenID: Performing discovery on https://www.google.com/accounts/o8/id?id=AItOawkWYlFwqPCS-nTqdu3lyDbTX1sGJ07yhbI I, [2013-06-30T17:56:33.633248 #23279] INFO – OpenID: WARNING: making https request to https://www.google.com/accounts/o8/id?id=AItOawkWYlFwqPCS-nTqdu3lyDbTX1sGJ07yhbI without verifying server certificate; no CA path was specified.

Ilya Ishmatov wrote in post #1114007:

Hi.

After update in Gemfile rails gem from 3.2.6 to 4.0.0.

Registration by openid not working.

Log from console:

I, [2013-06-30T17:56:33.632030 #23279] INFO -- OpenID: Error attempting to use stored discovery information: OpenID::TypeURIMismatch I, [2013-06-30T17:56:33.632142 #23279] INFO -- OpenID: Attempting discovery to verify endpoint I, [2013-06-30T17:56:33.632192 #23279] INFO -- OpenID: Performing discovery on https://www.google.com/accounts/o8/id?id=AItOawkWYlFwqPCS-nTqdu3lyDbTX1sGJ07yhbI I, [2013-06-30T17:56:33.633248 #23279] INFO -- OpenID: WARNING: making https request to https://www.google.com/accounts/o8/id?id=AItOawkWYlFwqPCS-nTqdu3lyDbTX1sGJ07yhbI without verifying server certificate; no CA path was specified.

Are you using Ruby 2.0 or Ruby 1.9.3? I had similar problems with OpenID via OmniAuth. Rolling back to Ruby 1.9.3 seemed to solve the problem for me.

My system: iMac OS X 10.8 Ruby 1.9.3 Rails 4.0.0 OmniAuth (including OpenID Strategy)

I know that OS X 10.8 comes bundled with an older OpenSSL than that required by Ruby 2.0. Given that OS X 10.9 Mavericks will include Ruby 2.0 with Xcode 5.0 I've decided to wait to upgrade to Ruby 2.0 until OS X 10.9 gets released this Autumn.