require 'openid/store/filesystem'
require "openid/fetchers"
OpenID.fetcher.ca_file = "#{Rails.root}/certs/ca-bundle.crt"
provider :openid, OpenID::Store::Filesystem.new('./tmp'), :name =>
'google', :identifier => 'https://www.google.com/accounts/o8/id'
provider :facebook, 'yourinfo', 'yourinfo', {:client_options => {:ssl =>
{:verify => false}}}
provider :twitter, 'yourinfo', 'yourinfo'
This is my configuration for development...
You can create a certs folder in your rails root and put the
ca-bundle.crt file in there. You can find it here:
http://certifie.com/ca-bundle/ca-bundle.crt.txt
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.