Description
I created the sample Zoom Web SDK react app [https://github.com/zoom/meetingsdk-react-sample] and used the node signature example to create the signature.
Since the Web SDK version i’m using is 2.7 I used the web SDK key and secret to generate the signature to join the meeting, but I keep getting error code 3712, “signature is invalid”.
How To Reproduce Steps to reproduce the behavior:
*1. clone and run meetingsdk-react-sample
*2. clone and run meetingsdk-sample-signature-node.js
*3. Try to join meeting.
I’m using my personal room id number as the meeting the number to join the meeting as a host.
The signature that’s generated is: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzZGtLZXkiOiJOR0dHTXlmZmJnZDJaRThTaTAwRkxtN250RlhOUXVleXdYdkIiLCJtbiI6IjQ1ODAzNTA4MDgiLCJyb2xlIjoxLCJpYXQiOjE2NjI5ODgzOTEsImV4cCI6MTY2Mjk5NTU5MSwiYXBwS2V5IjoiTkdHR015ZmZiZ2QyWkU4U2kwMEZMbTdudEZYTlF1ZXl3WHZCIiwidG9rZW5FeHAiOjE2NjI5OTU1OTF9.GYfsMzRt65E4QTIoe3awh-3_r1q3UPFaulq4p3_kuRE
Hi , i have used the zoom web sample sdk and use the correct api key and secret key . still its showing the Invalid signature with joining meeting timeout. Is there any other reason ? here is the code i have used for signature
var signature = ZoomMtg.generateSDKSignature({
meetingNumber: meetingConfig.mn,
sdkKey: CLIENT_ID,
sdkSecret: CLIENT_SECRET,
role: meetingConfig.role,
success: function (res) {
console.log(res.result);
meetingConfig.signature = res.result;
meetingConfig.sdkKey = CLIENT_ID;
var joinUrl = “zoom-sdk-web-2.11.0/CDN/meeting.html?” + testTool.serialize(meetingConfig);
console.log(joinUrl);
// window.open(joinUrl, “”);