© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Mikael Engvall
I had to use
jwt.verify(cookie, process.env.SECRET_ACCESS_TOKEN, async (err, decoded) => {
instead of
jwt.verify(cookie, config.SECRET_ACCESS_TOKEN, async (err, decoded) => {
in the verify.js file because config wasn't defined.