Description
How can I get 36 character length key for my zoom web SDK to pass into Zoom SDK console?
Browser Console Error
When I click on join button on Zoom Join preview window? The error comes as "Joining meeting timeout. Invalid parameter"
The dev tools window shows as SDK_KEY length must be 36. However, in our Zoom Marketplace, we got JWT key of length 22 only.
Which Web Meeting SDK version?
Zoom Web SDK v2.4.5 (can also be verified from console logs in the screenshot)
Meeting SDK Code Snippets
// it's option if you want to change the WebSDK dependency link resources. setZoomJSLib must be run at first
// ZoomMtg.setZoomJSLib("https://source.zoom.us/2.4.5/lib", "/av"); // CDN version defaul
if (meetingConfig.china)
ZoomMtg.setZoomJSLib("https://jssdk.zoomus.cn/2.4.5/lib", "/av"); // china cdn option
ZoomMtg.preLoadWasm();
ZoomMtg.prepareJssdk();
function beginJoin(signature) {
ZoomMtg.init({
leaveUrl: meetingConfig.leaveUrl,
webEndpoint: meetingConfig.webEndpoint,
disableCORP: !window.crossOriginIsolated, // default true
// disablePreview: false, // default false
success: function () {
console.log(meetingConfig);
console.log("signature", signature);
ZoomMtg.i18n.load(meetingConfig.lang);
ZoomMtg.i18n.reload(meetingConfig.lang);
ZoomMtg.join({
meetingNumber: meetingConfig.meetingNumber,
userName: meetingConfig.userName,
signature: signature,
sdkKey: meetingConfig.sdkKey,
userEmail: meetingConfig.userEmail,
passWord: meetingConfig.passWord,
success: function (res) {
console.log("join meeting success");
console.log("get attendeelist");
ZoomMtg.getAttendeeslist({});
ZoomMtg.getCurrentUser({
success: function (res) {
console.log("success getCurrentUser", res.result.currentUser);
},
});
},
error: function (res) {
console.log(res);
},
});
},
error: function (res) {
console.log(res);
},
});
You should recreate an SDK type application, not a JWT application type. JWT is going to be removed in 2023 and should not be used anymore to generate credentials (jwt token) to access with the Web SDK.
By creating an SDK type app, you’ll get a 36 lenght key and the secret you need to generate your credentials, even for the web SDK.
Can you please share a screenshot of this page? If you could share more details about this specific issue including how to reproduce it that will help us provide a solution.
Are there any restrictions based on (account_type) who organizes the Webinars from Zoom account, e.g., account_type of owner, member, admin, etc, for which it asks to log into Zoom first.
I checked it in our code. We have now used the SDK type key in place of the JWT type key (seeing that it will be deprecated by 01/2023) and with that, we have checked that if the Owner’s account hosts the Meeting, the login issue doesn’t occur.
So, it confirmed that for SDK type, the meeting must be from the Owner’s account.
Also, our issue is resolved for now.
Can you share a few tutorials on implementing OAuth using Web SDK, so that we can try out on our project?
The method provided above looks promising to tackle several use-cases faced while using JWT and SDK type credentials.