How does a JwtStrategy secret/key work?

Gravatar

I am trying to run 'npm run dev' on the backend of Bookkeeper but am getting an error message saying that JwtStrategy requires a secret or key. Where can I create/access and add this?

User profile image

Please add all required variables to your .env file, here is an example below

Postgres configuration

PGHOST=localhost PGUSER=postgres PGDATABASE=bookkeeper_seed PGPASSWORD=root PGPORT=5432

SMTP

SMTPHOST=yourmail SMTPUSER=youruser SMTPPASSWORD=yourpassword SMTPPORT=yourport SMTPFROM=youruser SMTPUSE_TLS=true or false

UI Project

UIBASEURL=http://localhost:8088 UISETPASSWORD_URL=/password/set

SECRET=yoursecret

User profile image

Langsung saja daftar kartu poker dan nikmati semua permainan dan bonus yang kami sediakan untuk anda. Untuk syarat dan ketentuan bonusnya, bisa anda baca langsung di menu promosi yang ada di link situs naga poker terbaru 2023. Anda juga bisa bertanya langsung ke Customer service kami melalui menu Live chat 24 jam. Atau bisa juga menghubungi kami via SMS/Telpon/WA di +855715655190, telegram dan Line di Poker Online.

Cookie Consent

By continuing to browse or by clicking 'OK', you agree to the storing of cookies on your device to enhance your site experience and for analytical purposes. To learn more about how we use cookies, please see our cookies policy.