1212 - #80
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 46142cac8f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
|
||
| console.log( | ||
| 'envs:', | ||
| process.env.AUTH_SECRET, |
There was a problem hiding this comment.
Stop logging the session encryption secret
Whenever the middleware module initializes, this prints AUTH_SECRET to deployment logs. Because Auth.js uses this value to protect JWT session cookies, anyone with access to retained or aggregated logs can obtain the key and potentially decrypt or forge authenticated sessions; remove the log or restrict it to non-sensitive metadata.
Useful? React with 👍 / 👎.
No description provided.