Admin login 500 Error, secretOrPrivateKey must have a value

It would appear that a secret key is not being passed to this environment variable, in your deployment how are you setting environment variables (specifically this one ADMIN_JWT_SECRET)

That error is basically saying that ADMIN_JWT_SECRET is undefined.

1 Like