X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ad164d384e6215aecb03cf679ca2df7faa38cfb5..2a6f78747e2013a1e606f9bc08b39f9c392d154a:/config/initializers/omniauth.rb?ds=sidebyside diff --git a/config/initializers/omniauth.rb b/config/initializers/omniauth.rb index 3964a6729..bce82b3c9 100644 --- a/config/initializers/omniauth.rb +++ b/config/initializers/omniauth.rb @@ -23,7 +23,7 @@ end openid_options = { :name => "openid", :store => openid_store } google_options = { :name => "google", :scope => "email", :access_type => "online" } -facebook_options = { :name => "facebook", :scope => "email", :client_options => { :site => "https://graph.facebook.com/v4.0", :authorize_url => "https://www.facebook.com/v4.0/dialog/oauth" } } +facebook_options = { :name => "facebook", :scope => "email", :client_options => { :site => "https://graph.facebook.com/v17.0", :authorize_url => "https://www.facebook.com/v17.0/dialog/oauth" } } microsoft_options = { :name => "microsoft", :scope => "openid User.Read" } github_options = { :name => "github", :scope => "user:email" } wikipedia_options = { :name => "wikipedia", :client_options => { :site => "https://meta.wikimedia.org" } }