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

Allow dynamic meta to access blacklisted headers before they are removed from the payload #277

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

musojames
Copy link

Allow a caller to access information from a value before it is removed by the logger blacklist.

The use case is decoding a JWT, and getting the content from it. But not wanting to log the token itself.
The auth token is blacklisted to stop it being written out to the log, but the user id and roles are pulled from it first.

No new code, just changing the order or the code execution.

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.

1 participant