# Electron login with userToken

**URL:** <https://devforum.zoom.us/t/electron-login-with-usertoken/364>\
**Category:** Windows\
**Created:** [September 14, 2017, 5:19am UTC](https://devforum.zoom.us/t/electron-login-with-usertoken/364 "2017-09-14T05:19:01Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dilip\_Parekh](https://avatars.discourse-cdn.com/v4/letter/d/a4c791/32.png) [@Dilip\_Parekh](https://devforum.zoom.us/u/Dilip_Parekh)\
**Post date:** [September 14, 2017, 5:19am UTC](https://devforum.zoom.us/t/electron-login-with-usertoken/364/1 "2017-09-14T05:19:01Z")

</div>

Hello Team.

I have a use case where I need to&nbsp;join the meeting using username and usertoken.&nbsp;

With the current implementation of Electron Zoom SDK, password is must for logging in.

My question is, is there a way where we can start or join a meeting using username and userToken values ?

&nbsp;

Please help.

&nbsp;

Thanks

---

<div class="post-metadata">

**Author:** ![Wei\_Guo1](https://avatars.discourse-cdn.com/v4/letter/w/ec9cab/32.png) [@Wei\_Guo1](https://devforum.zoom.us/u/Wei_Guo1)\
**Post date:** [September 14, 2017, 6:20pm UTC](https://devforum.zoom.us/t/electron-login-with-usertoken/364/2 "2017-09-14T18:20:46Z")

</div>

Hi Dilip,

based on the current design, we provide two options for you:

1. using user id, token to authenticate

2. using email and password

so you can not use username and userToken together.

Best

---

<div class="post-metadata">

**Author:** ![Dilip\_Parekh](https://avatars.discourse-cdn.com/v4/letter/d/a4c791/32.png) [@Dilip\_Parekh](https://devforum.zoom.us/u/Dilip_Parekh)\
**Post date:** [September 15, 2017, 12:58am UTC](https://devforum.zoom.us/t/electron-login-with-usertoken/364/3 "2017-09-15T00:58:57Z")

</div>

Hi Wei,

Thanks for your response.

In the electron documentation, I see login function which accepts username and password. Where do I need to pass the userID and token to authenticate ?

Using apiKey and secretKey, I’m authenticating the sdk. Will this authentication be sufficient for starting or joining a meeting ?

Or Do I need to login for starting/joining a meeting ?

&nbsp;

Thanks&nbsp;

---

<div class="post-metadata">

**Author:** ![Wei\_Guo1](https://avatars.discourse-cdn.com/v4/letter/w/ec9cab/32.png) [@Wei\_Guo1](https://devforum.zoom.us/u/Wei_Guo1)\
**Post date:** [September 15, 2017, 1:05am UTC](https://devforum.zoom.us/t/electron-login-with-usertoken/364/4 "2017-09-15T01:05:55Z")

</div>

Hi Dilip,

we provide two methods to authentication, one method is to use zoomauth.SDKAuth(appkey, appsecret). you need to pass app key and app secret.

another method is to use zoomauth.Login(username, psw).&nbsp;

you can choose either one of them which will be sufficient to start a meeting.

Best

---

<div class="post-metadata">

**Author:** ![Dilip\_Parekh](https://avatars.discourse-cdn.com/v4/letter/d/a4c791/32.png) [@Dilip\_Parekh](https://devforum.zoom.us/u/Dilip_Parekh)\
**Post date:** [September 15, 2017, 1:42am UTC](https://devforum.zoom.us/t/electron-login-with-usertoken/364/5 "2017-09-15T01:42:16Z")

</div>

Thank you for the response Wei.

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![Dilip\_Parekh](https://avatars.discourse-cdn.com/v4/letter/d/a4c791/32.png) [@Dilip\_Parekh](https://devforum.zoom.us/u/Dilip_Parekh)\
**Post date:** [September 19, 2017, 4:36am UTC](https://devforum.zoom.us/t/electron-login-with-usertoken/364/6 "2017-09-19T04:36:44Z")

</div>

Hi Wei,

I chose&nbsp;zoomauth.SDKAuth(appkey, appsecret) to authenticate and I succeeded.

With the meetingID, I’m able to join the meeting but unable to start the meeting.

Please help.

Thanks

---

<div class="post-metadata">

**Author:** ![Wei\_Guo1](https://avatars.discourse-cdn.com/v4/letter/w/ec9cab/32.png) [@Wei\_Guo1](https://devforum.zoom.us/u/Wei_Guo1)\
**Post date:** [September 19, 2017, 4:56am UTC](https://devforum.zoom.us/t/electron-login-with-usertoken/364/7 "2017-09-19T04:56:26Z")

</div>

Hi Dilip,

currently Electron SDK only support start a meeting if you login using username and password. We will support user who authed with app key/secret to start meeting in the next release.

Best

---

<div class="post-metadata">

**Author:** ![Dilip\_Parekh](https://avatars.discourse-cdn.com/v4/letter/d/a4c791/32.png) [@Dilip\_Parekh](https://devforum.zoom.us/u/Dilip_Parekh)\
**Post date:** [September 19, 2017, 5:57am UTC](https://devforum.zoom.us/t/electron-login-with-usertoken/364/8 "2017-09-19T05:57:31Z")

</div>

Thanks for the response Wei

Will be waiting for the next release.

Any approximate date when you are planning for the next release ?

&nbsp;

Thanks

---

<div class="post-metadata">

**Author:** ![Wei\_Guo1](https://avatars.discourse-cdn.com/v4/letter/w/ec9cab/32.png) [@Wei\_Guo1](https://devforum.zoom.us/u/Wei_Guo1)\
**Post date:** [September 19, 2017, 4:43pm UTC](https://devforum.zoom.us/t/electron-login-with-usertoken/364/9 "2017-09-19T16:43:18Z")

</div>

Hi Dilip,

currently we target it at end of October, will keep you posted!

---

<div class="post-metadata">

**Author:** ![Dilip\_Parekh](https://avatars.discourse-cdn.com/v4/letter/d/a4c791/32.png) [@Dilip\_Parekh](https://devforum.zoom.us/u/Dilip_Parekh)\
**Post date:** [September 28, 2017, 3:24pm UTC](https://devforum.zoom.us/t/electron-login-with-usertoken/364/10 "2017-09-28T15:24:38Z")

</div>

Hi Wei,

Thanks for the update.

I have one more question. How to start a meeting with video on by default ?

---

<div class="post-metadata">

**Author:** ![Wei\_Guo1](https://avatars.discourse-cdn.com/v4/letter/w/ec9cab/32.png) [@Wei\_Guo1](https://devforum.zoom.us/u/Wei_Guo1)\
**Post date:** [September 28, 2017, 4:14pm UTC](https://devforum.zoom.us/t/electron-login-with-usertoken/364/11 "2017-09-28T16:14:42Z")

</div>

Hi Dilip,

currently this function is available on Normal windows SDK, we will wrap it to electron SDK in the next release.

Best

---

<div class="post-metadata">

**Author:** ![Jaswanth\_K](https://avatars.discourse-cdn.com/v4/letter/j/ea666f/32.png) [@Jaswanth\_K](https://devforum.zoom.us/u/Jaswanth_K)\
**Post date:** [November 13, 2017, 5:05pm UTC](https://devforum.zoom.us/t/electron-login-with-usertoken/364/12 "2017-11-13T17:05:26Z")

</div>

Hi Wei,

As you mentioned, any updates on&nbsp;starting a meeting with video ON (Video Call) by default ?

&nbsp;

Thanks,

Jaswanth

---

<div class="post-metadata">

**Author:** ![Wei\_Guo1](https://avatars.discourse-cdn.com/v4/letter/w/ec9cab/32.png) [@Wei\_Guo1](https://devforum.zoom.us/u/Wei_Guo1)\
**Post date:** [November 13, 2017, 10:28pm UTC](https://devforum.zoom.us/t/electron-login-with-usertoken/364/13 "2017-11-13T22:28:35Z")

</div>

Hi&nbsp;Jaswanth，

This is already in the latest release, please take a look at:&nbsp;[https://github.com/zoom/zoom-sdk-electron](https://github.com/zoom/zoom-sdk-electron)

Best

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 5:18pm UTC](https://devforum.zoom.us/t/electron-login-with-usertoken/364/14 "2020-08-21T17:18:20Z")

</div>


