Skip to content

Commit

Permalink
Should carry on all kwargs.
Browse files Browse the repository at this point in the history
  • Loading branch information
rohe committed Mar 22, 2024
1 parent e6c6517 commit 70b42c5
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/idpyoidc/client/oauth2/add_on/par.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 70b42c5

Please sign in to comment.