🚨 Black Friday: 85% OFF Flatlogic Generator! 🚨 Build your custom CRM, ERP, or SaaS app with full code ownership—don’t miss out!

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.