Skip to content

fix(auth): remove hardcoded fallback session secret (fixes #59)#60

Merged
ralyodio merged 1 commit into
profullstack:masterfrom
FuturMix:fix/session-secret-no-fallback
Jun 14, 2026
Merged

fix(auth): remove hardcoded fallback session secret (fixes #59)#60
ralyodio merged 1 commit into
profullstack:masterfrom
FuturMix:fix/session-secret-no-fallback

Conversation

@FuturMix

Copy link
Copy Markdown
Contributor

Removes the hardcoded fallback "logicsrc-dev-session-secret" from getSessionSecret(). The function now throws an error if neither LOGICSRC_SESSION_SECRET nor COINPAY_OAUTH_CLIENT_SECRET is set, preventing session forgery via the publicly known default.

Fixes #59

@ralyodio ralyodio merged commit f8040e9 into profullstack:master Jun 14, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hardcoded fallback session secret allows session forgery

2 participants