# Is it possible to Authentication windows sdk using username/password?

**URL:** <https://devforum.zoom.us/t/is-it-possible-to-authentication-windows-sdk-using-username-password/32536>\
**Category:** Meeting SDK\
**Created:** [October 8, 2020, 1:25am UTC](https://devforum.zoom.us/t/is-it-possible-to-authentication-windows-sdk-using-username-password/32536 "2020-10-08T01:25:28Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![mammuvicky](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@mammuvicky](https://devforum.zoom.us/u/mammuvicky)\
**Post date:** [October 8, 2020, 1:25am UTC](https://devforum.zoom.us/t/is-it-possible-to-authentication-windows-sdk-using-username-password/32536/1 "2020-10-08T01:25:28Z")

</div>

**Description**  
I am trying to logging into demo app with zoom credential username/password but it is failing please let me know is this possible ?  
I created jwt token after entering app token nothing is happening  
I have used C# wrapper as well.  
**Which version?**  
v5.0.24433.0616

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

1. Go to ‘…’
2. Click on ‘…’
3. Scroll down to ‘…’
4. See error

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

**Device (please complete the following information):**

- Device Spec: PC
- OS: Windows 10
- Version [e.g. 10.15.1]

**Additional context**  
Add any other context about the problem here.

---

<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 10, 2020, 1:11am UTC](https://devforum.zoom.us/t/is-it-possible-to-authentication-windows-sdk-using-username-password/32536/2 "2020-10-10T01:11:15Z")

</div>

Hi @mammuvicky,

Thanks for using Zoom SDK. It is possible to login with username/password when doing the user authentication. However, you will need to pass the SDK authentication before doing the user authentication. The JWT token that the SDK is expecting is a JWT token that is generated by the SDK key/secret, not the token that is retrieved from the Marketplace. Please refer to the instruction here to generate the JWT token: [https://github.com/zoom/zoom-sdk-windows/blob/master/CHANGELOG.md#new-sdk-initialization-method-using-jwt-token](https://github.com/zoom/zoom-sdk-windows/blob/master/CHANGELOG.md#new-sdk-initialization-method-using-jwt-token)

Thanks!

---

<div class="post-metadata">

**Author:** ![mammuvicky](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@mammuvicky](https://devforum.zoom.us/u/mammuvicky)\
**Post date:** [October 19, 2020, 3:03pm UTC](https://devforum.zoom.us/t/is-it-possible-to-authentication-windows-sdk-using-username-password/32536/3 "2020-10-19T15:03:14Z")

</div>

> [@carson.zoom](#):
>
> JWT token that the SDK is expecting is a JWT token that is generated by the SDK key/secret, not the token that is retrieved from the Marketplace. Please refer to the instruction he

Thanks for the quick response. One more question on this… Is it possible to control mute/unmute mic and video from windows app ?

---

<div class="post-metadata">

**Author:** ![Proddy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/proddy/32/15671_2.png) [@Proddy](https://devforum.zoom.us/u/Proddy)\
**Post date:** [October 19, 2020, 11:59pm UTC](https://devforum.zoom.us/t/is-it-possible-to-authentication-windows-sdk-using-username-password/32536/4 "2020-10-19T23:59:03Z")

</div>

You can login directly with credentials with:

```
LoginParam4Email emailParam = new LoginParam4Email();
emailParam.bRememberMe = false;
emailParam.userName = "Your email here";
emailParam.password = "Your password here";
LoginParam param = new LoginParam();
param.loginType = LoginType.LoginType_Email;
param.emailLogin = emailParam;
SDKError sdkErr = CZoomSDKeDotNetWrap.Instance.GetAuthServiceWrap().Login(param);

```

You can mute/unmute your mic after joining a meeting by using the Audio Controller and UserId 0:

```
SDKError sdkErr = CZoomSDKeDotNetWrap.Instance.GetMeetingServiceWrap().GetMeetingAudioController.MuteAudio(0, true); //Or false

```

You can mute/unmute your video after joining a meeting by using the Video Controller:

```
// To unmute your video
SDKError sdkErr = CZoomSDKeDotNetWrap.Instance.GetMeetingServiceWrap().GetMeetingVideoController.UnmuteVideo();
// To mute your video
SDKError sdkErr = CZoomSDKeDotNetWrap.Instance.GetMeetingServiceWrap().GetMeetingVideoController.MuteVideo();
```

---

<div class="post-metadata">

**Author:** ![mammuvicky](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@mammuvicky](https://devforum.zoom.us/u/mammuvicky)\
**Post date:** [October 24, 2020, 1:39am UTC](https://devforum.zoom.us/t/is-it-possible-to-authentication-windows-sdk-using-username-password/32536/5 "2020-10-24T01:39:48Z")

</div>

Thanks for your reply It worked!. My requirement is to control the Zoom meeting which is already running and with my apps I should be able to control the user by mute/unmute. Is it possible ?

---

<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, 6:41am UTC](https://devforum.zoom.us/t/is-it-possible-to-authentication-windows-sdk-using-username-password/32536/6 "2020-10-24T06:41:48Z")

</div>

Hi @mammuvicky,

If you are the host/co-host of the meeting, you could use the following interface to control mute/unmute

- [https://zoom.github.io/zoom-sdk-windows/class\_i\_meeting\_audio\_controller.html#a46ffad1f9a811c713086ac4663df2744](https://zoom.github.io/zoom-sdk-windows/class_i_meeting_audio_controller.html#a46ffad1f9a811c713086ac4663df2744)
- [https://zoom.github.io/zoom-sdk-windows/class\_i\_meeting\_audio\_controller.html#adaebfe39b02fd039b71a987aa2297ec9](https://zoom.github.io/zoom-sdk-windows/class_i_meeting_audio_controller.html#adaebfe39b02fd039b71a987aa2297ec9)

Thanks!

---

<div class="post-metadata">

**Author:** ![mammuvicky](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@mammuvicky](https://devforum.zoom.us/u/mammuvicky)\
**Post date:** [November 3, 2020, 11:32am UTC](https://devforum.zoom.us/t/is-it-possible-to-authentication-windows-sdk-using-username-password/32536/7 "2020-11-03T11:32:42Z")

</div>

Let me clarify what is the ask we have here.

1. We are able to control audio/video via sdk to sdk zoom instance and not the one which is installed in the system via zoom installer. My question is still the same with this sdk can we control the zoom instances and its features? if so how can or which method we should use to connect to zoom installed instance or any meeting originated from installed version rather than sdk version.

---

<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 7, 2020, 8:15am UTC](https://devforum.zoom.us/t/is-it-possible-to-authentication-windows-sdk-using-username-password/32536/8 "2020-11-07T08:15:17Z")

</div>

Hi @mammuvicky,

Thanks for the reply. You cannot control the Zoom client programmatically. The only thing you could do is to use the SDK to join a meeting that all other participants are using the Zoom client, and if you are the host, you will be able to control other participants’ audio/video programmatically since it is a request from the host.

Thanks!
