Hi guys
Could anyone help me, please?
I am getting this error that the signature has expired.
it works where I developed (windows environment) however after that I put it in the test(Linux environment debian 9) don’t work anymore.
I created this meeting for example.
Below how I am generating the signature:
console.log(‘checkSystemRequirements’); console.log(JSON.stringify(ZoomMtg.checkSystemRequirements()));
ZoomMtg.preLoadWasm();
ZoomMtg.prepareJssdk();
const API_KEY = ‘###########’;
const API_SECRET = ‘################’;
testTool = window.testTool;
document.getElementById('join_meeting').addEventListener('click', (e) => {
e.preventDefault();
const meetConfig = {
userEmail:'#########',
apiKey: API_KEY,
apiSecret: API_SECRET,
meetingNumber: parseInt(document.getElementById('meeting_number').value, 10),
userName: document.getElementById('display_name').value,
passWord: document.getElementById('meeting_pwd').value,
leaveUrl: 'https://www.meusite.com.br',
role: parseInt(document.getElementById('meeting_role').value, 10)
};
ZoomMtg.generateSignature({
meetingNumber: meetConfig.meetingNumber,
apiKey: meetConfig.apiKey,
apiSecret: meetConfig.apiSecret,
role: meetConfig.role,
success(res) {
console.log('signature', res.result);
ZoomMtg.init({
leaveUrl: 'http://www.meusite.com.br',
success() {
ZoomMtg.join(
{
userEmail:meetConfig.userEmail,
meetingNumber: meetConfig.meetingNumber,
userName: meetConfig.userName,
signature: res.result,
apiKey: meetConfig.apiKey,
passWord: meetConfig.passWord,
success() {
$('#nav-tool').hide();
console.log('join meeting success');
},
error(res) {
console.log(res);
}
}
);
},
error(res) {
console.log(res);
}
});
}
});
});
![image|690x367](upload://iKyK4YdWsg7V6fJUBfGi7oSQXxx.png)