Hey @it.it,
Thanks for using the developer forum!
To get a sample JWT for using the SDK, you can do the following:
- Log into Zoom Marketplace
- Click the “Build App” button in the top left corner
- Click the “View Here” button in the “SDK” tile
- You should now see your SDK key and SDK secret
- Go to https://jwt.io/ and scroll down until you see this page:
- Replace the payload in the right hand side with this payload:
{
“appKey”: “string”,
“iat”: 0,
“exp”: 0,
“tokenExp”: 0
}
- Copy your SDK Key from the Zoom Marketplace (in this example, I will use 1234ABC for the key) and paste it inside the quotes where it says string, next to appKey in the payload.
- Go to https://www.epochconverter.com/
- And you will see the current time in epoch format here:
- Copy that value and place it where the 0 is next to iat in the jwt payload
- Now on epoch converter.com, set the date 1 day in the future, as I am writing this it is the 16th so I will set this to be the 17th
- Click “Human date to Timestamp” and copy the value here:
- Paste this to replace the 0 next to both exp and tokenExp in the payload. (These don’t have to be the same value, and they also don’t have to be a date 1 day from now, this is just for example):
- So now your payload should look like this:
- You can hover over these numbers and it should show you the date in readable format:
- Now copy your SDK Secret from the Zoom Marketplace and paste it into the box that says “your 256 bit secret”. Leave “secret base64 encoded” unchecked:
- For this example I am going to use 5678DEF for my sdk secret. Your screen should now look like this:
- Your JWT is the text that is on the left under “Encoded”. Copy this directly, do not click the “Share JWT” button:
- Paste this text directly into the demo app box when it asks you to auth.
Please let me know if that works.
Thanks!
Michael