X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ad164d384e6215aecb03cf679ca2df7faa38cfb5..c661bbf7dba69d265ebcd6431d0a4ab8c5d48430:/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" } }