@@ -461,7 +461,15 @@ def permissions_check(
461461 )
462462 raise AttributeError (msg )
463463
464- connection = ConnectionManager (self .connection .base_url )
464+ connection = ConnectionManager (
465+ base_url = self .connection .base_url ,
466+ timeout = self .connection .timeout ,
467+ verify = self .connection .verify ,
468+ proxies = self .connection .proxies ,
469+ cert = self .connection .cert ,
470+ max_retries = self .connection .max_retries ,
471+ pool_maxsize = self .connection .pool_maxsize ,
472+ )
465473 connection .add_param_headers ("Authorization" , "Bearer " + token )
466474 connection .add_param_headers ("Content-Type" , "application/x-www-form-urlencoded" )
467475 data_raw = connection .raw_post (self .uma_well_known ["token_endpoint" ], data = payload )
@@ -946,7 +954,15 @@ async def a_permissions_check(
946954 )
947955 raise AttributeError (msg )
948956
949- connection = ConnectionManager (self .connection .base_url )
957+ connection = ConnectionManager (
958+ base_url = self .connection .base_url ,
959+ timeout = self .connection .timeout ,
960+ verify = self .connection .verify ,
961+ proxies = self .connection .proxies ,
962+ cert = self .connection .cert ,
963+ max_retries = self .connection .max_retries ,
964+ pool_maxsize = self .connection .pool_maxsize ,
965+ )
950966 connection .add_param_headers ("Authorization" , "Bearer " + token )
951967 connection .add_param_headers ("Content-Type" , "application/x-www-form-urlencoded" )
952968 data_raw = await connection .a_raw_post (
0 commit comments