diff --git a/lib/openid_connect_authenticator.rb b/lib/openid_connect_authenticator.rb index 9496ca3..07dc15b 100644 --- a/lib/openid_connect_authenticator.rb +++ b/lib/openid_connect_authenticator.rb @@ -125,6 +125,10 @@ def register_middleware(omniauth) builder.request :url_encoded # form-encode POST params builder.adapter FinalDestination::FaradayAdapter # make requests with FinalDestination::HTTP end + + opts[:client_options][ + :raise_errors + ] = SiteSetting.openid_connect_verbose_logging } end