Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean propagated header claims #124

Merged
merged 2 commits into from
Oct 31, 2023
Merged

Conversation

dhontecillas
Copy link
Contributor

@dhontecillas dhontecillas commented Oct 31, 2023

When we want a header to come from a jwt claim, we do not want it to be filled with data coming from the client. With this PR, if there is no claim that matches the mapping, the header is set to an empty string.

Fixes: #103

@kpacha kpacha merged commit eb76a07 into master Oct 31, 2023
3 checks passed
@kpacha kpacha deleted the clean_propagated_header_claims branch October 31, 2023 16:10
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.

Mixing "propagate_claims" headers with "input_headers" is still a bad design
2 participants