Description
I am trying to create a minimal testing page of the web sdk for testing purposes. Using an SDK key/secret.
Browser Console Error
I am receiving the error “Joining meeting timeout.
The signature has expired.”
Which Web Meeting SDK version?
Version 2.8.0
Meeting SDK Code Snippets
The code snippets that are causing the error / issue so we can reproduce.
My Minimal test page HTML is (which could be pasted into an html file
Zoom Meeting TEST
<script src="https://source.zoom.us/2.8.0/lib/vendor/react-dom.min.js"></script>
<script src="https://source.zoom.us/2.8.0/lib/vendor/redux.min.js"></script>
<script src="https://source.zoom.us/2.8.0/lib/vendor/redux-thunk.min.js"></script>
<script src="https://source.zoom.us/2.8.0/lib/vendor/lodash.min.js"></script>
<!-- import ZoomMtg -->
<script src="https://source.zoom.us/zoom-meeting-2.8.0.min.js"></script>
<script>
//import { ZoomMtg } from '@zoomus/websdk'
// For CDN version default
function websdkready() {
ZoomMtg.setZoomJSLib("https://source.zoom.us/2.8.0/lib", "/av");
ZoomMtg.preLoadWasm();
ZoomMtg.prepareWebSDK();
ZoomMtg.i18n.setSupportLanguage(['en-US']);
ZoomMtg.i18n.load('en-US');
const zoomMeeting = document.getElementById("zmmtg-root");
ZoomMtg.init({
leaveUrl: '{{ zoomleaveurl|escapejs }}',
isSupportAV: false,
// on success, call the join method
success: function() {
ZoomMtg.join({
meetingNumber: '',
userName: 'test@example.org',
signature: '',
sdkKey: '',
userEmail: 'test@example.org',
passWord: '',
success: (success) => {
console.log(success)
},
error: (error) => {
console.log(error)
}
});
},
});
}
window.addEventListener('DOMContentLoaded', function(event) {
console.log('DOM fully loaded and parsed');
websdkready();
});
</script>
**I created the signature using jwt.io using the following**
Header:
"alg": "HS256",
"typ": "JWT"
}
Payload:
{
"appKey": "",
"sdkKey": "",
"mn": "",
"role": 0,
"iat": 1667592404,
"exp": 1667592404,
"tokenExp": 1667678446
}
(and using my SDK secret which I won't post here, I checked and I am using the correct SDK secret and I am not checking "base 64 encoded")
Screenshots
If applicable, add screenshots to help explain your problem.
Troubleshooting Routes
The troubleshooting attempt types you’ve already exhausted, including testing with the appropriate sample app (found on Zoom · GitHub).
Device (please complete the following information):
Latest Chrome/Windows 10/Local html file