I am using openid for social authentication like Yahoo, Flickr and google. Previously it the system was working fine but currently all time i m unable to sign in using yahoo and flickr and all time it is giving me connection_failure error.
in omniauth.rb i have this line
provider :open_id, :store=> OpenID::Store::Filesystem.new('/var/tmp'),:name => 'yahoo', :identifier => yahoo.com'
and my link href is look like
<%= content_tag(:li, link_to(:Yahoo, @user_to_be_registered.blank? ?
"/auth/yahoo?openid_url=https://me.yahoo.com" : "#",:title=> t('.account_link_title', :acc_name=> "Yahoo"),:class=>"popup_auth", :"data-width" => "500", :"data-height" => "500" )) %>
Aucun commentaire:
Enregistrer un commentaire