Skip to content

fix: reject example JWT placeholder in production - #22

Merged
MugdhoAI merged 3 commits into
mainfrom
fix/reject-example-jwt-placeholder
Oct 24, 2026
Merged

MugdhoAI merged 3 commits into
mainfrom
fix/reject-example-jwt-placeholder

Conversation

@MugdhoAI

Copy link
Copy Markdown
Owner

Summary

  • Reject the JWT placeholder used by .env.example when ENVIRONMENT=production.
  • Normalize surrounding whitespace and case before checking known placeholder values.
  • Add a regression test that reads the actual example value from .env.example, so it cannot silently pass production validation.

Verification

  • GitHub Actions CI and CodeQL will run on this pull request.

Scope

This is a focused configuration validation fix. It does not change development configuration behavior or claim that the project is production ready.

@MugdhoAI
MugdhoAI merged commit 604e908 into main Oct 24, 2026
3 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.

1 participant