Hi Team,
Can you please check why i am getting this error: Bad Token: Internal Error; Reason: internalError
Yesterday, I was able to get embed link but today it is not working. I am using this code to generate my JWT token.
app.get("/getToken", (req, res) => {
const user = {
"iss": "'" + process.env.CLIENTID_WB + "'"
}
let accessToken = jwt.sign(user,"'" + process.env.CLIENT_SKEY_WB+ "'", {algorithm:'HS256', expiresIn: '1h'})
console.log("Access Token ==> " + accessToken);
return res.status(201).json({
accessToken
});
});
Can you please check why it is not working?
Thank you!