timwaters / mapwarper

free open source public map georeferencer, georectifier and warper
http://mapwarper.net
MIT License
193 stars 80 forks source link

fix osm login #155

Closed timwaters closed 6 years ago

timwaters commented 6 years ago

I imagine that http is now https permanently

our logs show

Net::HTTPRetriableError (301 "Moved Permanently"): /usr/local/rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/net/http/response.rb:122:in error!' oauth (0.5.3) lib/oauth/consumer.rb:233:intoken_request'

https://github.com/sozialhelden/omniauth-osm

timwaters commented 6 years ago

onfig.omniauth :osm, APP_CONFIG["omniauth_osm_key"], APP_CONFIG["omniauth_osm_secret"], {:client_options => {:site => "https://www.openstreetmap.org"}}