Thanks for using Zoom SDK. Here are the steps to get the SDK key/secret and generate the JWT token:
- SDK key/secret: Follow the instruction here to create an SDK app and get the SDK key/secret: https://marketplace.zoom.us/docs/guides/build/sdk-app
- Once you have the SDK key/secret, follow this template to compose your payload for SDK initialization(https://github.com/zoom/zoom-sdk-electron/blob/master/CHANGELOG.md#new-sdk-initialization-method-using-jwt-token):
"appKey": "string", // Your SDK key
"iat": long, // access token issue timestamp
"exp": long, // access token expire timestamp
"tokenExp": long // token expire timestamp, MIN:30 minutes
The minimum value of
tokenExp should be at least 30 minutes, and the
exp should be later than the
tokenExp, otherwise, SDK will reject the authentication request.
base64UrlEncode(header) + "." +
"Your SDK secret here"
You could use jwt.io to generate the JWT token for testing.
Thanks for the feedback. We are working on improving the doc and will have a better doc as soon as we can.