45d84827ad
gates / gates (push) Successful in 2s
The template set no JWT_PRIVATE_KEY/JWT_PUBLIC_KEY, so the app login (the mobile app's route) answered 500 on a CORRECT password. The deploy's generators cannot make an RSA pair, so the start command makes it ONCE with wger's own `manage.py generate-jwt-keys`, keeps it 0600 on wger's data volume (a restore brings it back), and loads it before the image's own entrypoint. Measured on the bench (2.7): right password 200 with an access token that reads the API (200); wrong password 400 (allauth's answer); the key survives a restart. No image moves. Evidence: felhom.eu/documentation/audits/night-rulings-2026-09-30/D/ Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS