From: Tom Hughes Date: Wed, 30 Aug 2023 19:31:24 +0000 (+0100) Subject: Bump facebook API version X-Git-Tag: live~592 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/8e3af42fe1f60480af83c2c7d40ab6289bf24508 Bump facebook API version --- 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" } }