lib/omniauth/strategies/oauth.rb in oa-oauth-0.2.0.beta2 vs lib/omniauth/strategies/oauth.rb in oa-oauth-0.2.0.beta3

- old
+ new

@@ -46,9 +46,11 @@ @access_token = request_token.get_access_token(opts) super rescue ::OAuth::Unauthorized => e fail!(:invalid_credentials, e) + rescue ::MultiJson::DecodeError => e + fail!(:invalid_response, e) end def auth_hash OmniAuth::Utils.deep_merge(super, { 'credentials' => {