Skip to content

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