]> git.openstreetmap.org Git - rails.git/commitdiff
Bump facebook API version
authorTom Hughes <tom@compton.nu>
Wed, 30 Aug 2023 19:31:24 +0000 (20:31 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 30 Aug 2023 19:31:24 +0000 (20:31 +0100)
config/initializers/omniauth.rb

index 3964a6729bca132b1c86048be04d6fb082ff34f1..bce82b3c944230f520a9fb4dae628e6ad877a3b3 100644 (file)
@@ -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" } }