]> git.openstreetmap.org Git - rails.git/commitdiff
Use meta.wikimedia.org for wikimedia authentication
authorTom Hughes <tom@compton.nu>
Wed, 21 Dec 2016 20:50:15 +0000 (20:50 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 21 Dec 2016 20:50:15 +0000 (20:50 +0000)
config/initializers/omniauth.rb

index 79041372185630a0f32cb7cd29d1922d387f17cb..5504a2b3f2e4e78216458f2033c3ad31bdee1900 100644 (file)
@@ -24,7 +24,7 @@ google_options = { :name => "google", :scope => "email", :access_type => "online
 facebook_options = { :name => "facebook", :scope => "email" }
 windowslive_options = { :name => "windowslive", :scope => "wl.signin,wl.emails" }
 github_options = { :name => "github", :scope => "user:email" }
-wikipedia_options = { :name => "wikipedia", :client_options => { :site => "https://commons.wikimedia.org" } }
+wikipedia_options = { :name => "wikipedia", :client_options => { :site => "https://meta.wikimedia.org" } }
 
 if defined?(GOOGLE_OPENID_REALM)
   google_options[:openid_realm] = GOOGLE_OPENID_REALM