devise - Omniauth OpenId authentication returns nil on user_info -
i using ruby 1.9.2 + rails 3 + devise + omniauth , trying authenticate users openid.
my providers on omniauth.rb are
provider :open_id, openid::store::filesystem.new('/tmp') provider :open_id, openid::store::filesystem.new('/tmp'), {:name => "google", :identifier => "https://www.google.com/accounts/o8/id" } provider :open_id, openid::store::filesystem.new('/tmp'), {:name => "yahoo", :identifier => "https://me.yahoo.com" } i redirected correctly providers , callback called. myopenid, returns nil on user_info hash. , both google or yahoo returns 400 (bad request) when callback url called.
for google , yahoo, added :required => [] param (not sure id does) , didnt return 400 error, again user_info nil
it permissions. try changing ('tmp') ('./tmp')
Comments
Post a Comment