Remove monkey patch to handle Faraday errors in OmniAuth-OAuth2
Summary
In !30653 (merged) we monkey patched the omniauth-oauth2
gem to also handle errors returned from Faraday.
This was reported upstream at https://github.com/omniauth/omniauth-oauth2/pull/129 and https://github.com/oauth-xx/oauth2/issues/152, and was now addressed in the oauth2
gem with https://github.com/oauth-xx/oauth2/pull/549.
Improvements
Once a new version of the oauth2
gem is released, we can probably upgrade to it without needing a bump in omniauth-oauth2
.
Involved components
config/initializers_before_autoloader/100_patch_omniauth_oauth2.rb