Closed pf-mike-breaton closed 2 years ago
Yes, jwt.secret
is a required value.
So yes, it should force to exit, you are right!
Thanks, will this be addressed in a future release?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Happened to find the following messages in my api logs and was wondering what its implications are:
It seems setting a
jwt.secret
cfg value resolves.Expected Behavior
Shouldn't the absence of this variable force the api to exit initialization with an appropriate error message?
Current Behavior
If default value is not overridden, only a warning is displayed in the logs
Possible Solution
Cause the API to fail to start if an appropriate secret is not provided. Display appropriate reason on logs
Steps to Reproduce (for bugs)
Your Environment