# Inputs for JoinMeetingWithoutLogin

**URL:** <https://devforum.zoom.us/t/inputs-for-joinmeetingwithoutlogin/14458>\
**Category:** Electron\
**Created:** [April 22, 2020, 5:17pm UTC](https://devforum.zoom.us/t/inputs-for-joinmeetingwithoutlogin/14458 "2020-04-22T17:17:43Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnkeck](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/johnkeck/32/6490_2.png) [@johnkeck](https://devforum.zoom.us/u/johnkeck)\
**Post date:** [April 22, 2020, 5:17pm UTC](https://devforum.zoom.us/t/inputs-for-joinmeetingwithoutlogin/14458/1 "2020-04-22T17:17:43Z")

</div>

**Description**  
We are using the Zoom Electron SDK to join meetings without login. On occasion, these meetings require a token for authorization before entering the meeting room. As shown in the documentation, the `toke4enfrocelogin` and `participantid` are required to do so. We are unable to figure out from the documentation what the token and ID required are. Is it the ZAK token or the user token? Is it the account ID from the API or something else?

**Which version?**  
Zoom Electron SDK [v4.6.15798.0403](https://github.com/zoom/zoom-sdk-electron/commit/c3c5634a7bd4a65502d51826869a851126fcf7b1)

**Screenshots**

 ![Screen Shot 2020-04-22 at 1.16.40 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/c/c27a213d768e24de3f82ad81734bb81886f62730.png)

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

- Device: Macbook Pro 13in
- OS: macOS Catalina
- v10.15.4

---

<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:** [April 23, 2020, 6:47am UTC](https://devforum.zoom.us/t/inputs-for-joinmeetingwithoutlogin/14458/2 "2020-04-23T06:47:35Z")

</div>

Hi [johnkeck](https://devforum.zoom.us/u/johnkeck)

Thanks for the post.

- User ID: your email address
- Zoom access token: the zak token retrieve from Zoom API([https://marketplace.zoom.us/docs/api-reference/zoom-api/users/usertoken](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/usertoken))
- Username: Display name in the meeting
- User token: the zoom token retrieve from Zoom API([https://marketplace.zoom.us/docs/api-reference/zoom-api/users/usertoken](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/usertoken))
- meeting number: If you scheduled a meeting, you will have a meeting number
- vanity ID: The name is shown in the personal link:[https://support.zoom.us/hc/en-us/articles/201362843-Personal-meeting-ID-PMI-and-personal-link](https://support.zoom.us/hc/en-us/articles/201362843-Personal-meeting-ID-PMI-and-personal-link)

You may find the details of each concept in our SDK doc: [https://marketplace.zoom.us/docs/sdk/native-sdks/preface/zak](https://marketplace.zoom.us/docs/sdk/native-sdks/preface/zak)

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![johnkeck](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/johnkeck/32/6490_2.png) [@johnkeck](https://devforum.zoom.us/u/johnkeck)\
**Post date:** [April 23, 2020, 6:40pm UTC](https://devforum.zoom.us/t/inputs-for-joinmeetingwithoutlogin/14458/3 "2020-04-23T18:40:28Z")

</div>

Thanks for the reply @carson.zoom, I totally understand what each of those are. Where I’m confused is which of those to use for `toke4enfrocelogin` and `participantid` in the `JoinMeetingWithoutLogin` call shown in the image above. Could you let me know which of the above are required for those parameters? The documentation doesn’t say exactly which token or ID needs to be passed.

---

<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:** [April 25, 2020, 1:08am UTC](https://devforum.zoom.us/t/inputs-for-joinmeetingwithoutlogin/14458/4 "2020-04-25T01:08:24Z")

</div>

Hi [johnkeck](https://devforum.zoom.us/t/inputs-for-joinmeetingwithoutlogin/14458/3),

Thanks for the reply. These 2 parameters are optional. You may pass the Zak token to `token4enforcelogin` to join a meeting by authenticating with tokens retrieved from Zoom API. For participant ID, normally when you are in a meeting, you will be assigned a participant ID, if you happen to know the participant ID(such as from another device), you could pass it here.

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![johnkeck](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/johnkeck/32/6490_2.png) [@johnkeck](https://devforum.zoom.us/u/johnkeck)\
**Post date:** [April 28, 2020, 10:24pm UTC](https://devforum.zoom.us/t/inputs-for-joinmeetingwithoutlogin/14458/5 "2020-04-28T22:24:40Z")

</div>

Passing the Zak token to the `JoinMeetingWithoutLogin` is ending with a meeting status of 6 (failed). This only happens with rooms requiring authorization. Is there anything else you need to pass or do to allow joining an authentication-required room without login?

---

<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:** [April 29, 2020, 9:11am UTC](https://devforum.zoom.us/t/inputs-for-joinmeetingwithoutlogin/14458/6 "2020-04-29T09:11:14Z")

</div>

Hi [johnkeck](https://devforum.zoom.us/u/johnkeck),

Thanks for the reply. Normally when join meeting fails, it will also return the fail reason. What is the fail reason returned? Could you provide the SDK log so that we could further analyze the issue you are facing? You may enable the log at SDK initialization and find it in ~/Library/Logs/(appName).

Thanks!

---

<div class="post-metadata">

**Author:** ![bogdan.lytvynovskyi](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bogdan.lytvynovskyi/32/6781_2.png) [@bogdan.lytvynovskyi](https://devforum.zoom.us/u/bogdan.lytvynovskyi)\
**Post date:** [April 29, 2020, 10:14pm UTC](https://devforum.zoom.us/t/inputs-for-joinmeetingwithoutlogin/14458/7 "2020-04-29T22:14:11Z")

</div>

Try StartMeetingWithoutLogin instead

---

<div class="post-metadata">

**Author:** ![johnkeck](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/johnkeck/32/6490_2.png) [@johnkeck](https://devforum.zoom.us/u/johnkeck)\
**Post date:** [May 1, 2020, 1:41am UTC](https://devforum.zoom.us/t/inputs-for-joinmeetingwithoutlogin/14458/8 "2020-05-01T01:41:28Z")

</div>

@bogdan.lytvynovskyi have you successfully used `StartMeetingWithoutLogin` with password-protected meetings? Doesn’t look like you can with the parameters involved.

---

<div class="post-metadata">

**Author:** ![johnkeck](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/johnkeck/32/6490_2.png) [@johnkeck](https://devforum.zoom.us/u/johnkeck)\
**Post date:** [May 1, 2020, 1:42am UTC](https://devforum.zoom.us/t/inputs-for-joinmeetingwithoutlogin/14458/9 "2020-05-01T01:42:33Z")

</div>

When the meeting fails, were would I find this fail reason? The `JoinMeetingWithoutLogin` just returns `0` and the `meetingstatuscb` has status `6`.

---

<div class="post-metadata">

**Author:** ![bogdan.lytvynovskyi](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bogdan.lytvynovskyi/32/6781_2.png) [@bogdan.lytvynovskyi](https://devforum.zoom.us/u/bogdan.lytvynovskyi)\
**Post date:** [May 1, 2020, 4:29am UTC](https://devforum.zoom.us/t/inputs-for-joinmeetingwithoutlogin/14458/10 "2020-05-01T04:29:26Z")

</div>

So you call this API to join meeting, even though it is called start. Before meeting is started you need to disable meeting password dialog (EnableInputMeetingPasswordDlg(false)). This should allow you to set callback SetInputMeetingPasswordAndScreenNameNotificationCB and pass down password in your handler.

I don’t use Electron for development, so tried some quick search to map desktop SDK functions to electron.

---

<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:** [May 2, 2020, 5:11am UTC](https://devforum.zoom.us/t/inputs-for-joinmeetingwithoutlogin/14458/11 "2020-05-02T05:11:45Z")

</div>

@bogdan.lytvynovskyi Thanks for helping out! 😃

Hi @johnkeck,

Thanks for the reply. I have modified the implementation in our demo app and I am able to join a meeting with a password, here are the steps:

1. Modify the HTML element in [https://github.com/zoom/zoom-sdk-electron/blob/master/demo/pages/start\_join\_without\_login.html#L65](https://github.com/zoom/zoom-sdk-electron/blob/master/demo/pages/start_join_without_login.html#L65), remove vanityID, and add “password” and “Zak”;
2. Change the JavaScript function dojoin(), parse the new parameters, and add `sendjoin(meetingnum, username, password, zak);` Also update the ipcRenderer.send
3. In main.js, configure the joinunlogin function to reflect the new parameters.

Rebuild the project and enter the meeting number, password, display name and Zak, you should be able to join a meeting with a password.

 ![Screen Shot 2020-05-01 at 8.02.19 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/c/c41c57c34782394a07e0136d6e11c70e2f65300b.png)

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![johnkeck](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/johnkeck/32/6490_2.png) [@johnkeck](https://devforum.zoom.us/u/johnkeck)\
**Post date:** [June 8, 2020, 11:52pm UTC](https://devforum.zoom.us/t/inputs-for-joinmeetingwithoutlogin/14458/12 "2020-06-08T23:52:49Z")

</div>

Yes, these new parameters allow you to join a meeting without login with a password. Unfortunately, this method does not work for protected domains. For example, when trying to join the protected domain `utexas.zoom.us`, the `JoinMeetingWithoutLogin` method fails without logging why. This also happens with other protected domains. Any idea how to get around this? I couldn’t figure out how to set the password through callbacks when using @bogdan.lytvynovskyi 's method.

---

<div class="post-metadata">

**Author:** ![johnkeck](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/johnkeck/32/6490_2.png) [@johnkeck](https://devforum.zoom.us/u/johnkeck)\
**Post date:** [June 9, 2020, 7:06pm UTC](https://devforum.zoom.us/t/inputs-for-joinmeetingwithoutlogin/14458/13 "2020-06-09T19:06:11Z")

</div>

To follow up @carson.zoom, this only occurs when attempting to join meetings that have [Only authenticated users can join meetings](https://support.zoom.us/hc/en-us/articles/360037117472-Authentication-Profiles-for-meetings-and-webinars) settings enabled. I can not find a way to join meetings with these settings that also have a password.

---

<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:** [June 10, 2020, 8:00am UTC](https://devforum.zoom.us/t/inputs-for-joinmeetingwithoutlogin/14458/14 "2020-06-10T08:00:48Z")

</div>

Hi @johnkeck,

Thanks for the reply. As mentioned in the [https://support.zoom.us/hc/en-us/articles/360037117472-Authentication-Profiles-for-meetings-and-webinars](https://support.zoom.us/hc/en-us/articles/360037117472-Authentication-Profiles-for-meetings-and-webinars), this feature requires the participants to log in to join a meeting, which means the participants need to either using email to log in or use SSO to log in. Using the token to join a meeting(API user) does not meet the requirements so it is not working.

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![johnkeck](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/johnkeck/32/6490_2.png) [@johnkeck](https://devforum.zoom.us/u/johnkeck)\
**Post date:** [June 10, 2020, 6:28pm UTC](https://devforum.zoom.us/t/inputs-for-joinmeetingwithoutlogin/14458/15 "2020-06-10T18:28:28Z")

</div>

Any idea why these can be joined if using the start without login method then @carson.zoom? As @bogdan.lytvynovskyi mentioned, if there is no password for the meeting it may be joined by using the `StartMeetingWithoutLogin` endpoint **even with the log in requirement feature**. Why does the `StartMeetingWithoutLogin` method allow this behavior but the `JoinMeetingWithoutLogin` method not?

---

<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:** [June 16, 2020, 8:51am UTC](https://devforum.zoom.us/t/inputs-for-joinmeetingwithoutlogin/14458/16 "2020-06-16T08:51:12Z")

</div>

Hi @johnkeck,

Thanks for the reply. The StartMeetingWithoutLogin and the JoinMeetingWIthoutLogin are designed for different scenarios, so what you are mentioning is by design. Joining a meeting using startMeetingWithoutLogin is a special case to deal with when the user who is trying to start a meeting is not the host.

Thanks!

---

<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, 10:03pm UTC](https://devforum.zoom.us/t/inputs-for-joinmeetingwithoutlogin/14458/17 "2020-08-21T22:03:42Z")

</div>


