# SDKAuth Button Not Working

**URL:** <https://devforum.zoom.us/t/sdkauth-button-not-working/35812>\
**Category:** Electron\
**Created:** [November 12, 2020, 10:21am UTC](https://devforum.zoom.us/t/sdkauth-button-not-working/35812 "2020-11-12T10:21:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zoom30](https://avatars.discourse-cdn.com/v4/letter/z/41988e/32.png) [@zoom30](https://devforum.zoom.us/u/zoom30)\
**Post date:** [November 12, 2020, 10:21am UTC](https://devforum.zoom.us/t/sdkauth-button-not-working/35812/1 "2020-11-12T10:21:32Z")

</div>

Hi,

Running the demo application with electron.  
 ![electron_demo2](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/3/f/3f687c2e9c21211b8fd0536d76e1aefc1024c87d.png)

 ![electron_demo3](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/0/e/0e4cf05de33d37331b9472153b2d9f3caefb3371.png)

I look retkey veriable is true with console.log but not working authWithJwtToken function.  
Nothing happens after clicking the button.Does not return any error codes.what is the problem, can you help?

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [November 13, 2020, 7:48am UTC](https://devforum.zoom.us/t/sdkauth-button-not-working/35812/2 "2020-11-13T07:48:40Z")

</div>

Hi @zoom30,

Thanks for the post. This is usually caused by an invalid JWT token. The JWT token that the SDK is expecting is a JWT token that is generated from the SDK key & secret. You may find the instruction here: [https://github.com/zoom/zoom-sdk-electron#initializing-sdk-with-jwt-token](https://github.com/zoom/zoom-sdk-electron#initializing-sdk-with-jwt-token)

If you are following the instruction and it is still not working, could you provide a sample payload(without the key) so that we could investigate?

Thanks!
