# Can't get SDK initialization to work using JWT

**URL:** <https://devforum.zoom.us/t/cant-get-sdk-initialization-to-work-using-jwt/30090>\
**Category:** iOS\
**Created:** [September 14, 2020, 3:37am UTC](https://devforum.zoom.us/t/cant-get-sdk-initialization-to-work-using-jwt/30090 "2020-09-14T03:37:14Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![bibekbharatidas](https://avatars.discourse-cdn.com/v4/letter/b/b77776/32.png) [@bibekbharatidas](https://devforum.zoom.us/u/bibekbharatidas)\
**Post date:** [September 24, 2020, 11:45pm UTC](https://devforum.zoom.us/t/cant-get-sdk-initialization-to-work-using-jwt/30090/6 "2020-09-24T23:45:56Z")

</div>

Hi @gjudd, For creating JWT with NodeJS I am using [https://www.npmjs.com/package/jsonwebtoken](https://www.npmjs.com/package/jsonwebtoken) :-

```
var jwt = require('jsonwebtoken');

var expiry = ((new Date()).getTime() + 3600000); // JWT validity 1 hour
var payload = {
  "iss": API_KEY, // replace API_KEY with your API_KEY
  "exp": expiry
};

var jwtToken = jwt.sign(payload, API_SECRET); // replace API_SECRET with your API_SECRET

```

**NOTE : In my case SDK\_KEY and SDK\_SECRET did not work.**

---

_[View the full topic](https://devforum.zoom.us/t/cant-get-sdk-initialization-to-work-using-jwt/30090)._
