Description
Describe the bug
In my .env.local file I have two variables that overwrite the default values:
SUPABASE_AUTH_JWT_SECRET
SUPABASE_DB_ROOT_KEY
After a recent cli update, the variables are no longer being loaded in after a supabase start.
When it finishes, I get the default:
JWT secret: super-secret-jwt-token-with-at-least-32-characters-long
in the terminal.
And when I check the pgsodium_root.key file in docker, the value does not match. I'm using a custom one that matches my production project so I can access vault secrets locally.
To Reproduce
Steps to reproduce the behavior:
- Add SUPABASE_AUTH_JWT_SECRET= to .env.local
- run supabase start (from fresh)
- When finished, the terminal will output JWT secret: super-secret-jwt-token-with-at-least-32-characters-long instead of the provided value in the .env.local file
Expected behavior
When a value is set for SUPABASE_AUTH_JWT_SECRET in .env.local, it should use that value as the jwt secret instead of the default.
System information
Rerun the failing command with --create-ticket
flag.
- Version of OS: MacOS 14.4.1
- Version of CLI: 1.204.3
- Version of Docker: 25.0.3