jsonwebtokenerror secret or public key must be provided

Guys, I deployed app, I htink I do everything right. but I get this error { jsonwebtokenerror secret or public key must be provided } seen in the Loggs section.

I do provide all the veriables necessary so the farify() function from jsonwebtoken can do its work
const { accountId, userId, backToUrl, shortLivedToken } = jwt.verify(
authorization,
process.env.MONDAY_SIGNING_SECRET
);

Also defines env variables on the app side.

Dunno how to debug - help pls

Hey @sandro, hope you’ve been well!
I’d recommend to open this thread in the developers community, as more experienced developers could share from experience
Regarding you question, could you please open a support ticket here?

Thanks,
Omer

1 Like