Node.js Signature Example is wrong

The signature example found here for Node.js is incorrect.

The proper way to make the signature will be:

const signature = Buffer
  .from(`${apiKey}.${meetingNumber}.${timestamp}.${role}.${hash}`)
  .toString('base64');

I didn’t find any way to contribute or fix it, so I am posting here in hope that some Dev from Zoom can see it

@gabrielcvaz,

Thank you for posting in the Zoom Developer Forum and sorry for the missed response. You are correct. The signature example found there is not an up-to-date example. That example is for a JW. Instead, you want to reference the SDK JWT example found here :

https://marketplace.zoom.us/docs/sdk/native-sdks/auth/

Please let me know if you have any questions about this.