# Can't Run Sample Electron App

**URL:** <https://devforum.zoom.us/t/cant-run-sample-electron-app/30439>\
**Category:** Electron\
**Created:** [September 16, 2020, 2:52pm UTC](https://devforum.zoom.us/t/cant-run-sample-electron-app/30439 "2020-09-16T14:52:32Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![eroltok](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/eroltok/32/8684_2.png) [@eroltok](https://devforum.zoom.us/u/eroltok)\
**Post date:** [September 16, 2020, 2:52pm UTC](https://devforum.zoom.us/t/cant-run-sample-electron-app/30439/1 "2020-09-16T14:52:32Z")

</div>

**Description**  
The electron demo is stuck in the input jwt token step

**Error**

**Which version?**  
The master version at [https://github.com/zoom/zoom-sdk-electron](https://github.com/zoom/zoom-sdk-electron)

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:

1. Build the electron app. I’m currently getting lots of warning errors like ‘/…/zoom\_sinks\_wrap\_class.h:878:3: warning: ignoring return value of function declared with ‘warn\_unused\_result’ attribute [-Wunused-result]’ but nothing breaking
2. Run sh run\_demo\_mac.sh
3. Enter [https://www.zoom.us](https://www.zoom.us) as the domain
4. Enter JWT token in the next screen
5. Notice that the screen does not progress/change, and the following log is output : “AuthWithJwtToken 5”

**Screenshots**  
If applicable, add screenshots to help explain your problem.

**Additional context**

- This is happening for me using electron 5.2 on Mac OS catalina. There is another discussion topic on this forum showing that the exact instructions and trying to run this on electron 12 fails, but lower versions of electron works. Not sure if that’s related or required.

---

<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:** [September 26, 2020, 1:20am UTC](https://devforum.zoom.us/t/cant-run-sample-electron-app/30439/2 "2020-09-26T01:20:33Z")

</div>

Hi @eroltok,

Thanks for the post and pardon the late response. Could you post a sample of your JWT payload?

Thanks!

---

<div class="post-metadata">

**Author:** ![currentoor](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/currentoor/32/17145_2.png) [@currentoor](https://devforum.zoom.us/u/currentoor)\
**Post date:** [October 15, 2020, 9:07pm UTC](https://devforum.zoom.us/t/cant-run-sample-electron-app/30439/3 "2020-10-15T21:07:57Z")

</div>

Hi @carson.zoom,

I’m having the same issue. Here is the JWT I’m using, it expires in one week.

eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdWQiOm51bGwsImlzcyI6ImRjUUpaZVI2VEtXSXJHRnVDZDkyeEEiLCJleHAiOjE2MDM0MDA4MDksImlhdCI6MTYwMjc5NjAwOX0.lwtzBPAut5Bolur5V3yJ3JUvUh6nsPsJWaV57zBRHbk

Thanks,

---

<div class="post-metadata">

**Author:** ![tomkit](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tomkit/32/17067_2.png) [@tomkit](https://devforum.zoom.us/u/tomkit)\
**Post date:** [October 17, 2020, 1:30am UTC](https://devforum.zoom.us/t/cant-run-sample-electron-app/30439/4 "2020-10-17T01:30:58Z")

</div>

I’m having the same issue with the Electron sample app v5.2.41735.0929

---

<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:** [October 17, 2020, 2:05am UTC](https://devforum.zoom.us/t/cant-run-sample-electron-app/30439/5 "2020-10-17T02:05:25Z")

</div>

Hi @currentoor @tomkit,

Thanks for the reply. Please follow the instruction here: [https://github.com/zoom/zoom-sdk-electron#installing](https://github.com/zoom/zoom-sdk-electron#installing) to install the dependencies and to run the demo app. For the JWT token, please refer to the instruction in: [https://github.com/zoom/zoom-sdk-electron/blob/master/CHANGELOG.md#new-sdk-initialization-method-using-jwt-token;](https://github.com/zoom/zoom-sdk-electron/blob/master/CHANGELOG.md#new-sdk-initialization-method-using-jwt-token;) The expiration date cannot be 2+ days after the issue date.

Thanks!

---

<div class="post-metadata">

**Author:** ![tomkit](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tomkit/32/17067_2.png) [@tomkit](https://devforum.zoom.us/u/tomkit)\
**Post date:** [October 17, 2020, 9:05pm UTC](https://devforum.zoom.us/t/cant-run-sample-electron-app/30439/6 "2020-10-17T21:05:41Z")

</div>

Great thx! That info might be useful on the main github page (instead of the changelog)

---

<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:** [October 24, 2020, 8:59am UTC](https://devforum.zoom.us/t/cant-run-sample-electron-app/30439/7 "2020-10-24T08:59:43Z")

</div>

Hi @tomkit,

Thanks for the feedback, we have added to the main Github page now, you may find it 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)

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [November 23, 2020, 6:59pm UTC](https://devforum.zoom.us/t/cant-run-sample-electron-app/30439/8 "2020-11-23T18:59:50Z")

</div>

Closed on November 23, 2020, 6:59pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
