Skip to content

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

Open
musojames wants to merge 1 commit intobithavoc:mainfrom
musolive:main
Open

Allow dynamic meta to access blacklisted headers before they are removed from the payload#277
musojames wants to merge 1 commit intobithavoc:mainfrom
musolive:main

Conversation

@musojames
Copy link
Copy Markdown

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