silasas
(Silas )
1
Dears,
I created a file.js to call the method generateSignature, then I pass apiKey, apiSecret, meetingNumber, role like params.
But, the msg ad hash don’t return value, therefore, I don’t have value to the Signature.
const msg = Buffer.from(apiKey + meetingNumber + timestamp + role).toString(‘base64’)
alert(msg);
const hash = crypto.createHmac(‘sha256’, apiSecret).update(msg).digest(‘base64’)
alert(hash);
tommy
(Tommy Gaessler)
2
Hey @silasas,
Are you seeing any errors being thrown in your console when you are running this code?
Thanks,
Tommy
silasas
(Silas )
3
Hi Master,
Then, probably that doesn’t work using javascript, just nodejs, but I am not sure about it.
My project is on net core and I am using Angular in the front. So I decided change the signature to c# instead javascript.
Then, I got the signature, but show other error with black window:
See:
My code:
tommy
(Tommy Gaessler)
4
Hey @silasas,
Can you share the signature you are generating to developersupport@zoom.us so I can help debug the issue?
Thanks,
Tommy
silasas
(Silas )
5
Hi Tommy,
This picture is better to you see my problem.
Follow the signature:
silasas
(Silas )
6
Hi Tommy,
I got…
I am not expert in Angular, so it was hard for me.
I am using Angular just for the Zoom and C# to the signature.
Follow my solution to this problem:
- I created a file of service (meeting.service.ts) to make http from c# code.
-
Then, Inside the method ngOnInit() on MEETINGS.COMPONENT.TS
a) I call the method => getSignature() from meeting.service.ts
b) I call the startMeeting passing the signature.
- The startMeeting is standard from SDK Zoom:
- To the constructor I use the meeting.service.ts and httpClient:
1 Like
tommy
(Tommy Gaessler)
7
Happy to hear you got the issue sorted out!
Thanks for sharing your solution!
-Tommy
system
(system)
Closed
8
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.