# HG changeset patch # User Kim Alvefur # Date 1723046354 -7200 # Node ID 97a9f939d472a3940a918065f6e1dfe2fd768351 # Parent 8ac59766ece16ff36344283c05fbe6481946ef0a mod_auth_oauth_external: Inherit default HTTP client settings (thanks nils) diff -r 8ac59766ece1 -r 97a9f939d472 mod_auth_oauth_external/mod_auth_oauth_external.lua --- a/mod_auth_oauth_external/mod_auth_oauth_external.lua Wed Jul 31 22:06:18 2024 +0200 +++ b/mod_auth_oauth_external/mod_auth_oauth_external.lua Wed Aug 07 17:59:14 2024 +0200 @@ -58,7 +58,7 @@ function provider.get_sasl_handler() local profile = {}; - profile.http_client = http.new({ connection_pooling = true }); -- TODO configurable + profile.http_client = http.default:new({ connection_pooling = true }); -- TODO configurable local extra = { oidc_discovery_url = oidc_discovery_url }; if token_endpoint and allow_plain then local map_username = function (username, _realm) return username; end; --jid.join; -- TODO configurable