Skip to content

Allow beforeSigning event to modify typ header property#388

Merged
poveden merged 2 commits intoaxa-group:masterfrom
AndreasNill:feature/allow-beforeSigning-event-modify-key-header
Jan 26, 2026
Merged

Allow beforeSigning event to modify typ header property#388
poveden merged 2 commits intoaxa-group:masterfrom
AndreasNill:feature/allow-beforeSigning-event-modify-key-header

Conversation

@AndreasNill
Copy link
Contributor

@AndreasNill AndreasNill commented Jan 23, 2026

Fix #387

PR Checklist

PR Description

As proposed I moved the spread operator behind the key argument. I didn't move it to the last position as the alg header must match the algorithm of the signing key. I updated the beforeSigning tests accordingly.

@nulltoken nulltoken changed the title allow beforeSigning event modify key header Allow beforeSigning event to modify typ key header Jan 23, 2026
@nulltoken nulltoken changed the title Allow beforeSigning event to modify typ key header Allow beforeSigning event to modify typ header property Jan 23, 2026
@nulltoken nulltoken requested a review from poveden January 23, 2026 17:14
@nulltoken
Copy link
Contributor

@AndreasNill LGTM. Thanks a lot!

@poveden How do you like it?

Copy link
Contributor

@nulltoken nulltoken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AndreasNill Could you please take a look at the test related comment?

@nulltoken nulltoken self-requested a review January 24, 2026 10:09
@poveden poveden merged commit f5cdad1 into axa-group:master Jan 26, 2026
11 checks passed
@nulltoken nulltoken mentioned this pull request Jan 26, 2026
3 tasks
@nulltoken
Copy link
Contributor

@AndreasNill Released through v8.2.1

Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add optional parameter for typ header to buildToken method

4 participants