"auth sdk failed" when running zoom sdk demo

Hey @it.it,

Thanks for using the developer forum!

To get a sample JWT for using the SDK, you can do the following:

  1. Log into Zoom Marketplace
  2. Click the “Build App” button in the top left corner
  3. Click the “View Here” button in the “SDK” tile
  4. You should now see your SDK key and SDK secret
  5. Go to https://jwt.io/ and scroll down until you see this page:
  6. Replace the payload in the right hand side with this payload:

{
“appKey”: “string”,
“iat”: 0,
“exp”: 0,
“tokenExp”: 0
}

  1. 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.
  2. Go to https://www.epochconverter.com/
  3. And you will see the current time in epoch format here:
  4. Copy that value and place it where the 0 is next to iat in the jwt payload
  5. 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
  6. Click “Human date to Timestamp” and copy the value here:
  7. 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):
  8. So now your payload should look like this:
    Screen Shot 2021-01-15 at 8.37.09 PM
  9. You can hover over these numbers and it should show you the date in readable format:
  10. 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:
    Screen Shot 2021-01-15 at 8.42.18 PM
  11. For this example I am going to use 5678DEF for my sdk secret. Your screen should now look like this:
  12. Your JWT is the text that is on the left under “Encoded”. Copy this directly, do not click the “Share JWT” button:
  13. Paste this text directly into the demo app box when it asks you to auth.

Please let me know if that works.
Thanks!
Michael

1 Like