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
When LOGGING_LEVEL set to debug, the @LogDecorator set methods parameters that are sensitive fields like email to REDACTED, which lead to issue with the api /widgets/session/initialize, which ever body param sent, it will always return "Email must be an email" error message.
👟 Reproduction steps
Set LOGGING_LEVEL to debug
Initialize session using /widgets/session/initialize
We've encountered this issue too (Linear ref: NV-3274) . We traced the root cause back to fast-redact as a 4th layer transitive dependency of nestjs-pino, which mutates the objects passed for redaction in place.
Unfortunately the fix hasn't yet arrived in our direct dependency. Our only option as of now is to specify an overrides in the monorepo root package.json to manually specify the fix version.
Would you be open to submitting a PR for this fix?
📜 Description
When
LOGGING_LEVEL
set to debug, the@LogDecorator
set methods parameters that are sensitive fields like email toREDACTED
, which lead to issue with the api/widgets/session/initialize
, which ever body param sent, it will always return "Email must be an email" error message.👟 Reproduction steps
/widgets/session/initialize
👍 Expected behavior
Initialize session successfully and return token
👎 Actual Behavior with Screenshots
Novu version
0.24.2
npm version
No response
node version
No response
📃 Provide any additional context for the Bug.
No response
👀 Have you spent some time to check if this bug has been raised before?
🏢 Have you read the Contributing Guidelines?
Are you willing to submit PR?
None
The text was updated successfully, but these errors were encountered: