Use of Secret in setCookies #3558
noe-charmet
started this conversation in
Ideas
Replies: 2 comments
-
Could you please provide your showcase in the real project? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Currently we would be doing I.setCookie({name: 'authentication_cookie', value: 'someSuperSecret'}) Which would print the content of the cookie in the logs. I would like to do I.setCookie({name: 'authentication_cookie', value: secret('someSuperSecret')}) As to have the secret redacted in the logs |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
As cookies can contain session information, they could be considered as secrets. It would be great to be able to use a Secret there. To ensure we are not logging any sensitive data.
Beta Was this translation helpful? Give feedback.
All reactions