Error: secretOrPrivateKey must have a value when using JWT
I am running into an error when trying to send a post request through postman to my server in order to enter a new user into my database. I am using environment variables to place the secret key in all of the necessary places. The error is saying that my secretOrPrivateKey has no value, although I have checked through logging in the console that it is providing the key I am using. I have also tried hard coding a value into the source code, and that has also not worked.