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

- old
+ new

@@ -77,9 +77,11 @@ end super rescue ::OAuth2::HTTPError, ::OAuth2::AccessDenied, CallbackError => e fail!(:invalid_credentials, e) + rescue ::MultiJson::DecodeError => e + fail!(:invalid_response, e) end def auth_hash OmniAuth::Utils.deep_merge(super, { 'credentials' => {