Description
Hi, I’m using Web Meeting SDK v2.8.0 to start & join a meeting.
When the page load, its said invalid signature in network tabs(inspect element).
then I tried to resend the request through the network tabs by double-clicking, and it succeed.
but when I reload the page its said invalid signature again. Please help.
Browser Console Error
Request : /api/v1/wc/info?meetingNumber=77416987132&userName=Hendry&passWord=123Abc%2B&signature=[REDACTED]&lang=en-US&userEmail=&cv=2.8.0&proxy=1&sdkOrigin=aHR0cHM6Ly9hdmEtYmFja29mZmljZS5iY2FmLmNvLmlk&tk=&ztk=&zsk=&ulsm=0&sdkUrl=aHR0cHM6Ly9hdmEtYmFja29mZmljZS5iY2FmLmNvLmlkOi9BZ2VudC9SZXF1ZXN0L0NvbmZpcm0&captcha=&captchaName=&suid=&corsHeader=false&signatureType=sdk&callback=localJsonpCallback1
Response : localJsonpCallback1({“status”:false,“errorCode”:200,“errorMessage”:“Invalid signature.”})
Which Web Meeting SDK version?
2.8.0
Meeting SDK Code Snippets
signature :
{
“appKey”: “[REDACTED]”,
“sdkKey”: “[REDACTED]”,
“mn”: [REDACTED],
“role”: 1,
“iat”: 1665383390,
“exp”: 1665385190,
“tokenExp”: 1665385190
}
Script :
function startJoinHost(){
let sdkKey = “[REDACTED]”;
let signature = “[REDACTED]”;
let meetingNumber = “[REDACTED]”;
let password = “123Abc+”;
let userName = “Hendry”;
let zakToken = document.getElementById(‘zakToken’).value;
ZoomMtg.preLoadWasm();
ZoomMtg.prepareWebSDK();
// loads language files, also passes any error messages to the ui
ZoomMtg.i18n.load(‘en-US’);
ZoomMtg.i18n.reload(‘en-US’);
ZoomMtg.setZoomJSLib(‘https://source.zoom.us/2.8.0/lib’, ‘/av’);
ZoomMtg.init({
debug: true,
leaveUrl: baseURL+"/Agent/Request/End",
showMeetingHeader: false, //option
disableInvite: true, //optional
disableCallOut: true, //optional
disableRecord: false, //optional
disableJoinAudio: false, //optional
audioPanelAlwaysOpen: true, //optional
showPureSharingContent: false, //optional
isSupportAV: true, //optional,
isSupportChat: true, //optional,
isSupportQA: false, //optional,
isSupportPolling: false, //optional
isSupportBreakout: false, //optional
isSupportCC: false, //optional,
screenShare: true, //optional,
rwcBackup: '', //optional,
videoDrag: false, //optional,
sharingMode: 'fit', //optional,
videoHeader: false, //optional,
isLockBottom: false, // optional,
isSupportNonverbal: false, // optional,
isShowJoiningErrorDialog: true, // optional,
disablePreview: true, // optional
disableCORP: true, // optional
meetingInfo: [ // optional
'topic',
'host',
'mn',
'pwd',
'telPwd',
'invite',
'participant',
'dc',
'enctype',
'report'
],
disableVoIP: false, // optional
disableReport: false, // optional
success: (success) => {
console.log(success)
ZoomMtg.join({
sdkKey : sdkKey,
signature : signature, // role in SDK Signature needs to be 0
meetingNumber : meetingNumber,
passWord : password,
userName : userName,
success : (success) => {
ZoomMtg.showRecordFunction({
show: true
});
console.log(success)
},
error: (error) => {
console.log(error)
}
});
},
error: (error) => {
console.log(error)
}
});
}
To Reproduce(If applicable)
Steps to reproduce the behavior:
- Create a Meeting using zoom API
- Create Signature SDK Apps
- Load Zoom Web SDK using CDN
- See error
Troubleshooting Routes
- Checked the signature, compare to zoom documentation
- try decode with jwt.io
- Checked error console browser
- Checked network tabs browser if any resource failed to load
- Switched zoom account
- checked cookies and session
- Use another device
- Use another browser
Device (please complete the following information):
- Device: Macbook Pro
- OS: iOS 12.6 Montrey
- Browser: Firefox
- Browser Version 105