Skip to content

Commit 70b42c5

Browse files
committed
Should carry on all kwargs.
1 parent e6c6517 commit 70b42c5

File tree

1 file changed

+1
-5
lines changed
  • src/idpyoidc/client/oauth2/add_on

1 file changed

+1
-5
lines changed

src/idpyoidc/client/oauth2/add_on/par.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,9 @@ def push_authorization(request_args, service, **kwargs):
4545
_context.client_authn_methods[_name] = execute(spec)
4646
authn_method = _name
4747

48-
_args = {}
48+
_args = kwargs.copy()
4949
if _context.issuer:
5050
_args["iss"] = _context.issuer
51-
if _name == "client_attestation":
52-
_wia = kwargs.get("client_attestation")
53-
if _wia:
54-
_args["client_attestation"] = _wia
5551

5652
_headers = service.get_headers(
5753
request_args, http_method=_http_method, authn_method=authn_method, **_args

0 commit comments

Comments
 (0)