PrivateKeyJWT.headers
field is not passed to private_key_jwt_sign
function call in PrivateKeyJWT.sign
method
#515
Labels
Describe the bug
In commit 49c5556d8b2c7e4b8939e502fefd816bf766dfc3
headers
parameter got re-introduced (previously known asheader
) and it is passed toclient_secret_jwt_sign
function call inClientSecretJWT.sign
method, but it is not passed toprivate_key_jwt_sign
function call inPrivateKeyJWT.sign
method, why is it so?Also both
client_secret_jwt_sign
&private_key_jwt_sign
eventually callsign_jwt_bearer_assertion
which doesn't haveheaders
parameter, but onlyheader
, so it looks to be skipped, is it expected?Expected behavior
headers
parameter is passed toprivate_key_jwt_sign
function call inPrivateKeyJWT.sign
methodEnvironment:
1.2.0
The text was updated successfully, but these errors were encountered: