Hey,
I’m getting an invalid signature error when verifying the session token my board view gets. The token looks ok when I’m logging it. I also regenerated the signing secret, didn’t fix it. Here’s a summary of my code:
import jwt from "jsonwebtoken";
import mondaySdk from "monday-sdk-js";
const monday = mondaySdk();
async function init() {
const sessionToken = (await monday.get("sessionToken")).data;
const MONDAY_SIGNING_SECRET = "My signing secret (in client for debug purposes only)";
const sessionData = jwt.verify(sessionToken, MONDAY_SIGNING_SECRET);
}