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

Fix JWT from being logged #946

Merged
merged 3 commits into from
Jul 2, 2023
Merged

Fix JWT from being logged #946

merged 3 commits into from
Jul 2, 2023

Conversation

MV-GH
Copy link
Collaborator

@MV-GH MV-GH commented Jul 2, 2023

Add CustomHttpLoggingInterceptor, remove old way

This way is better than the previous as it only redacts the fields we don't want to log. Previously entire requests where not being logged. Making it harder to debug if those requests (such as login) where actually being done.

image

Fixes #919

@twizmwazin twizmwazin enabled auto-merge (squash) July 2, 2023 05:58
@twizmwazin twizmwazin merged commit e2306e1 into LemmyNet:main Jul 2, 2023
1 check passed
@MV-GH MV-GH deleted the bug/919 branch July 2, 2023 06:14
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.

Prevent JWT from being logged
2 participants