sandboxws / omniauth-goodreads

Goodreads strategy for OmniAuth
8 stars 11 forks source link

Net::HTTPRetriableError 301 "Moved Permanently" #5

Closed elliotthilaire closed 5 years ago

elliotthilaire commented 6 years ago

Goodreads now redirects http requests to https.

This causes a Net::HTTPRetriableError.

Net::HTTPRetriableError
301 "Moved Permanently"

...

/Users/elliott/.rbenv/versions/2.4.2/lib/ruby/2.4.0/net/http/response.rb:122:in `error!'
oauth (0.5.4) lib/oauth/consumer.rb:233:in `token_request'
oauth (0.5.4) lib/oauth/consumer.rb:155:in `get_request_token'
omniauth-oauth (1.1.0) lib/omniauth/strategies/oauth.rb:28:in `request_phase'
/Users/elliott/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/bundler/gems/omniauth-goodreads-b220d902f23e/lib/omniauth/strategies/goodreads.rb:15:in `request_phase'
omniauth (1.7.1) lib/omniauth/strategy.rb:224:in `request_call'
omniauth (1.7.1) lib/omniauth/strategy.rb:187:in `call!'
omniauth (1.7.1) lib/omniauth/strategy.rb:168:in `call'
omniauth (1.7.1) lib/omniauth/strategy.rb:190:in `call!'
omniauth (1.7.1) lib/omniauth/strategy.rb:168:in `call'
omniauth (1.7.1) lib/omniauth/builder.rb:63:in `call'
...