You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@stianst I can see PASSWORD in following logs in DEBUB/TRACE mode
org.apache.http.wire, org.hibernate.internal.util.EntityPrinter, org.hibernate.orm.jdbc.extract, org.hibernate.orm.results
This is a security threat. Is this expected behavior?
@atul-epam At this layer, the http framework and Hibernate just log raw data. It is not really feasible to filter raw data for sensitive information (and if it was, it would have to be supported by these frameworks). So this behaviour is expected and you should not enable debug or trace logging for these frameworks in production.
Before reporting an issue
Area
account/api
Describe the bug
Following logs are getting printed in keycloak.log file with all request parameters including password.
DEBUG [org.apache.http.wire] (executor-thread-1) http-outgoing-1 >>
Version
23.0.4
Regression
Expected behavior
The above log should not get printed.
Actual behavior
Http logs are getting printed with request parameters
How to Reproduce?
Hit the /protocol/openid-connect/token API with all valid parameters.
Anything else?
No response
The text was updated successfully, but these errors were encountered: