Skip to content

Security: Store session secret validation #366

@adityack477

Description

@adityack477

If the SESSION_SECRET env variable is missing the server silently uses undefined as the session secret, making all sessions insecure. Add a startup check that throws a clear error if required env vars are absent.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions