adding task

This commit is contained in:
lila 2026-04-23 11:12:57 +02:00
parent 4623ea634a
commit 1dfe391233

View file

@ -32,6 +32,9 @@ Things that are actively in progress or should be picked up immediately. Mostly
- **Security headers with helmet** `[security]` - **Security headers with helmet** `[security]`
Add helmet middleware to set secure HTTP response headers. One-liner: app.use(helmet()). Covers headers like X-Content-Type-Options, X-Frame-Options, and Content-Security-Policy. Add helmet middleware to set secure HTTP response headers. One-liner: app.use(helmet()). Covers headers like X-Content-Type-Options, X-Frame-Options, and Content-Security-Policy.
- **Conditionally register OAuth providers** `[debt]`
Better Auth logs warnings when social providers are registered without credentials (`Social provider google is missing clientId or clientSecret`). Instead of registering all providers unconditionally, only add a provider to the config when its credentials are present in the environment. Keeps local dev clean for contributors who don't have OAuth apps set up.
--- ---
## next ## next