Bug Summary
The backend authentication setup requires the environment variable TWO_FACTOR_ENCRYPTION_KEY, but this variable is not documented in backend/.env.example.
As a result, contributors following the documented setup process may encounter a startup failure because the required variable is never defined.
Steps to Reproduce
- Clone the repository.
- Copy
backend/.env.example to backend/.env.
- Follow the documented setup instructions.
- Start the backend server.
Actual Behavior
The server fails to start because TWO_FACTOR_ENCRYPTION_KEY is required but not present in the example environment configuration.
Expected Behavior
All required environment variables should be documented in backend/.env.example so contributors can complete setup successfully.
Suggested Fix
Add the missing variable to backend/.env.example with a placeholder value and a short description of the required format.
Example:
TWO_FACTOR_ENCRYPTION_KEY=your_64_character_hex_key_here
Additional Context
This improves contributor onboarding and keeps the environment documentation aligned with the backend authentication requirements.
Bug Summary
The backend authentication setup requires the environment variable
TWO_FACTOR_ENCRYPTION_KEY, but this variable is not documented inbackend/.env.example.As a result, contributors following the documented setup process may encounter a startup failure because the required variable is never defined.
Steps to Reproduce
backend/.env.exampletobackend/.env.Actual Behavior
The server fails to start because
TWO_FACTOR_ENCRYPTION_KEYis required but not present in the example environment configuration.Expected Behavior
All required environment variables should be documented in
backend/.env.exampleso contributors can complete setup successfully.Suggested Fix
Add the missing variable to
backend/.env.examplewith a placeholder value and a short description of the required format.Example:
Additional Context
This improves contributor onboarding and keeps the environment documentation aligned with the backend authentication requirements.