From 70b42c5123a63fcb8cef4a928071df76c98ecc92 Mon Sep 17 00:00:00 2001 From: roland Date: Fri, 22 Mar 2024 09:09:00 +0100 Subject: [PATCH] Should carry on all kwargs. --- src/idpyoidc/client/oauth2/add_on/par.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/idpyoidc/client/oauth2/add_on/par.py b/src/idpyoidc/client/oauth2/add_on/par.py index db358e8f..705a2223 100644 --- a/src/idpyoidc/client/oauth2/add_on/par.py +++ b/src/idpyoidc/client/oauth2/add_on/par.py @@ -45,13 +45,9 @@ def push_authorization(request_args, service, **kwargs): _context.client_authn_methods[_name] = execute(spec) authn_method = _name - _args = {} + _args = kwargs.copy() if _context.issuer: _args["iss"] = _context.issuer - if _name == "client_attestation": - _wia = kwargs.get("client_attestation") - if _wia: - _args["client_attestation"] = _wia _headers = service.get_headers( request_args, http_method=_http_method, authn_method=authn_method, **_args