Security Fixes

This commit is contained in:
Tim Zöller 2026-04-07 10:28:10 +02:00
parent aa7a7bc9fc
commit a0eebfcb3f
14 changed files with 279 additions and 37 deletions

View file

@ -72,7 +72,9 @@ fitpub:
# Security settings
security:
jwt:
secret: ${JWT_SECRET:change-this-secret-key-in-production-must-be-at-least-32-characters-long}
# JWT_SECRET must be set explicitly. The dev profile (application-dev.yml) provides a development default;
# production deployments without JWT_SECRET set will fail to start.
secret: ${JWT_SECRET:}
expiration: 86400000 # 24 hours in milliseconds
# Registration settings