# Electron SDK user login

**URL:** <https://devforum.zoom.us/t/electron-sdk-user-login/48814>\
**Category:** Electron\
**Tags:** faq\
**Created:** [April 25, 2021, 6:41am UTC](https://devforum.zoom.us/t/electron-sdk-user-login/48814 "2021-04-25T06:41:35Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![AtmaWise](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@AtmaWise](https://devforum.zoom.us/u/AtmaWise)\
**Post date:** [April 25, 2021, 6:41am UTC](https://devforum.zoom.us/t/electron-sdk-user-login/48814/1 "2021-04-25T06:41:35Z")

</div>

There are currently two login methods for users in the zoom demo:

1. Username and password  
2.sso token

At present, we have docked the sso token login method (but two-factor authentication is used for security), so it is not impossible to log in directly with token=xxx. Here I want to know whether the SDK does not need to log in again when it is integrated in the client’s SDK , Because our client can obtain user-related information when docking with the background

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/9/4/94f7b7d5d6111617e51e1b0baef72a48c0446eed.png)

> [@Login using SSO](https://devforum.zoom.us/t/login-using-sso/18254/10):
>
> I figured out how to manually get the SSO token. Navigate to https://\<your org\>.zoom.us/saml/login?from=desktop. Then login. The resulting page will contain a link with id “sso-button” and href"zoommtg://\<your org\>.zoom.us/sso?token=\<The SSO token\>" It would be nice if there were some automated way to get SSO tokens, and I would have appreciated it if there were some documentation about this. It took me a while to figure out. But this seems to work (at least for now).

Does sso token refer to the token in the link here?

---

<div class="post-metadata">

**Author:** ![roger](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/roger/32/11819_2.png) [@roger](https://devforum.zoom.us/u/roger)\
**Post date:** [April 25, 2021, 3:29pm UTC](https://devforum.zoom.us/t/electron-sdk-user-login/48814/2 "2021-04-25T15:29:18Z")

</div>

Yes. Using that SSO token worked for me about a year ago.

---

<div class="post-metadata">

**Author:** ![AtmaWise](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@AtmaWise](https://devforum.zoom.us/u/AtmaWise)\
**Post date:** [April 26, 2021, 1:06am UTC](https://devforum.zoom.us/t/electron-sdk-user-login/48814/3 "2021-04-26T01:06:41Z")

</div>

Thank you very much for solving my problem. I understood it from the SAML2 protocol at the beginning and thought it was a token generated by IDSP.

---

<div class="post-metadata">

**Author:** ![roger](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/roger/32/11819_2.png) [@roger](https://devforum.zoom.us/u/roger)\
**Post date:** [April 26, 2021, 1:55am UTC](https://devforum.zoom.us/t/electron-sdk-user-login/48814/4 "2021-04-26T01:55:09Z")

</div>

You’re welcome! Glad to hear this was helpful.

---

<div class="post-metadata">

**Author:** ![AtmaWise](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@AtmaWise](https://devforum.zoom.us/u/AtmaWise)\
**Post date:** [April 26, 2021, 2:15am UTC](https://devforum.zoom.us/t/electron-sdk-user-login/48814/5 "2021-04-26T02:15:27Z")

</div>

Sorry to disturb you, Navigate to https://.zoom.us/saml/login?from=desktop. then ssologin, and then get the token, can this process be completed in the background, because the sdk is currently integrated into In a client

---

<div class="post-metadata">

**Author:** ![roger](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/roger/32/11819_2.png) [@roger](https://devforum.zoom.us/u/roger)\
**Post date:** [April 26, 2021, 2:41am UTC](https://devforum.zoom.us/t/electron-sdk-user-login/48814/6 "2021-04-26T02:41:01Z")

</div>

I’m not sure. I didn’t end up using the SSO functionality, because there was no way to get the SSO tokens through the official APIs. I didn’t want my app to break if Zoom changed anything.

---

<div class="post-metadata">

**Author:** ![AtmaWise](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@AtmaWise](https://devforum.zoom.us/u/AtmaWise)\
**Post date:** [April 26, 2021, 2:43am UTC](https://devforum.zoom.us/t/electron-sdk-user-login/48814/7 "2021-04-26T02:43:59Z")

</div>

ok, SAML2.0 should be done in the browser at present, let me try other methods to try

Thank you！ 😄

---

<div class="post-metadata">

**Author:** ![AtmaWise](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@AtmaWise](https://devforum.zoom.us/u/AtmaWise)\
**Post date:** [April 26, 2021, 5:48am UTC](https://devforum.zoom.us/t/electron-sdk-user-login/48814/8 "2021-04-26T05:48:38Z")

</div>

I found a solution through this

> **[Get a user token - Users - Zoom API - API Reference](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/usertoken)**
>
> Retrieve a user's token. This token is used for starting meetings with the Client SDK.
> Scopes: user:read:admin user:read
> 
> Rate Limit Label: Light
> If a ...

---

<div class="post-metadata">

**Author:** ![roger](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/roger/32/11819_2.png) [@roger](https://devforum.zoom.us/u/roger)\
**Post date:** [April 26, 2021, 1:48pm UTC](https://devforum.zoom.us/t/electron-sdk-user-login/48814/9 "2021-04-26T13:48:40Z")

</div>

Thanks! I didn’t realize that token worked with loginWithSSOToken

---

<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:** [May 26, 2021, 11:48pm UTC](https://devforum.zoom.us/t/electron-sdk-user-login/48814/10 "2021-05-26T23:48:54Z")

</div>

Closed on May 26, 2021, 11:48pm UTC

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