# "auth sdk failed" when running zoom sdk demo

**URL:** <https://devforum.zoom.us/t/auth-sdk-failed-when-running-zoom-sdk-demo/37448>\
**Category:** Windows\
**Created:** [December 2, 2020, 4:55pm UTC](https://devforum.zoom.us/t/auth-sdk-failed-when-running-zoom-sdk-demo/37448 "2020-12-02T16:55:59Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [January 16, 2021, 3:56am UTC](https://devforum.zoom.us/t/auth-sdk-failed-when-running-zoom-sdk-demo/37448/7 "2021-01-16T03:56:59Z")

</div>

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/](https://jwt.io/) and scroll down until you see this page:  
 ![Screen Shot 2021-01-15 at 8.18.08 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/1/3/131c5509b53afbbc09f7c0a33fd32ad1df1e0bce.png)
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/](https://www.epochconverter.com/)
3. And you will see the current time in epoch format here:  
 ![Screen Shot 2021-01-15 at 8.25.42 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/b/7/b7cdedc242459186375eed122020ce919650a7c2.png)
4. Copy that value and place it where the _0_ is next to _iat_ in the jwt payload
5. Now on epoch [converter.com](http://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:  
 ![Screen Shot 2021-01-15 at 8.30.50 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/6/661c1395e3107b0e00b261bb9b55227d177e3232.png)
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](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/1/5/15fecfc438772624e22c7f46e031518b2fbd8e30.png)
9. You can hover over these numbers and it should show you the date in readable format:  
 ![Screen Shot 2021-01-15 at 8.39.12 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/8/1/81eae8968385e02c53055dfa7b78db8f63b9f68c.png)
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](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/9/b/9bd782bf8d0dad53874370b317db1b5948d8999c.png)
11. For this example I am going to use 5678DEF for my sdk secret. Your screen should now look like this:  
 ![Screen Shot 2021-01-15 at 8.44.01 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/e/2/e2a7feb1822ca259fe8b7d54ffae755f76ec047e.png)
12. Your JWT is the text that is on the left under “Encoded”. Copy this directly, do not click the “Share JWT” button:  
 ![Screen Shot 2021-01-15 at 8.46.10 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/e/d/edfa0757fce3bf003cdad3cd6aab688ded3eca37.png)
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

---

_[View the full topic](https://devforum.zoom.us/t/auth-sdk-failed-when-running-zoom-sdk-demo/37448)._
