mnfst / manifest

Effortless backends ✨

Home Page:https://manifest.build

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ERROR in authentification : secretOrPrivateKey must have a value

ismaelguerrib opened this issue · comments

To Reproduce
Steps to reproduce the behavior:

  • Use case starter as template
  • follow the README.me and seed
  • add a .env with a variable JWT_secret
  • try to authentificate
  • the error occurs

Expected behavior
I want to authentificate

Screenshots
When I try to auth I have an internal error server that said :
Capture d’écran 2023-10-02 à 16 21 20

Additional context
I add a .env with a JWT_SECRET but the error still occurs.
This article talk about it : https://dev.to/emmanuelthecoder/how-to-solve-secretorprivatekey-must-have-a-value-in-nodejs-4mpg

@ismaelguerrib CASE Starter is not supposed to be used as a template.

You can look at CASE docs and follow the install process.