# Windows demo app, how to use SSO account to join?

**URL:** <https://devforum.zoom.us/t/windows-demo-app-how-to-use-sso-account-to-join/6177>\
**Category:** Windows\
**Created:** [October 8, 2019, 8:23pm UTC](https://devforum.zoom.us/t/windows-demo-app-how-to-use-sso-account-to-join/6177 "2019-10-08T20:23:59Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![guowei.shieh](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/guowei.shieh/32/29314_2.png) [@guowei.shieh](https://devforum.zoom.us/u/guowei.shieh)\
**Post date:** [October 8, 2019, 8:23pm UTC](https://devforum.zoom.us/t/windows-demo-app-how-to-use-sso-account-to-join/6177/1 "2019-10-08T20:23:59Z")

</div>

Hi,

I can build the windows native sdk\_demo app and use API user to join. However, is there any way to join as myself, who is a pro account holder? my account is authenticated through SSO.

Thanks

---

<div class="post-metadata">

**Author:** ![guowei.shieh](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/guowei.shieh/32/29314_2.png) [@guowei.shieh](https://devforum.zoom.us/u/guowei.shieh)\
**Post date:** [October 8, 2019, 10:45pm UTC](https://devforum.zoom.us/t/windows-demo-app-how-to-use-sso-account-to-join/6177/2 "2019-10-08T22:45:46Z")

</div>

I tried to get an oauth token and used that in the LoginParam.ut.ssoLogin.ssoToken, but it still failed.

---

<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 9, 2019, 12:11am UTC](https://devforum.zoom.us/t/windows-demo-app-how-to-use-sso-account-to-join/6177/3 "2019-10-09T00:11:08Z")

</div>

Hi guowei,

If you have a SSO token, you can use the SSO login functionality. We do not have SSO login in sdk\_demo, you may need to use sdk\_demo\_v2 to experience the SSO login.

The SSO token is different from the OAuth token, the SSO token is usually provided by the Identity Provider(IdP), please see: [https://support.zoom.us/hc/en-us/articles/201363003-Getting-Started-with-SSO](https://support.zoom.us/hc/en-us/articles/201363003-Getting-Started-with-SSO) for more info.

Thanks!

---

<div class="post-metadata">

**Author:** ![guowei.shieh](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/guowei.shieh/32/29314_2.png) [@guowei.shieh](https://devforum.zoom.us/u/guowei.shieh)\
**Post date:** [October 9, 2019, 2:54am UTC](https://devforum.zoom.us/t/windows-demo-app-how-to-use-sso-account-to-join/6177/4 "2019-10-09T02:54:54Z")

</div>

Got it. I’ll go to my idp for such token. Makes sense.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [October 10, 2019, 4:50pm UTC](https://devforum.zoom.us/t/windows-demo-app-how-to-use-sso-account-to-join/6177/5 "2019-10-10T16:50:03Z")

</div>

Thanks for your help Carson! 🙂

-Tommy

---

<div class="post-metadata">

**Author:** ![guowei.shieh](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/guowei.shieh/32/29314_2.png) [@guowei.shieh](https://devforum.zoom.us/u/guowei.shieh)\
**Post date:** [October 10, 2019, 11:34pm UTC](https://devforum.zoom.us/t/windows-demo-app-how-to-use-sso-account-to-join/6177/6 "2019-10-10T23:34:24Z")

</div>

Ok, I got a session token from okta but my log-in still failed. Really need some help here!

Thanks

Guowei

My code is the following

param.ut.ssoLogin.bRememberMe = true;  
param.ut.ssoLogin.ssoToken = strToken.c\_str();  
param.loginType = ZOOM\_SDK\_NAMESPACE::LoginType::LoginType\_SSO;  
bool bRet = m\_pAuthServiceMgr-\>Login(param);

{  
“expiresAt”: “2019-10-10T23:16:39.000Z”,  
“status”: “SUCCESS”,  
**“sessionToken”: “\<\< obfuscated \>\>”,**  
“\_embedded”: {  
“user”: {  
“id”: “\<\< obfuscated \>\>”,  
“passwordChanged”: “2019-09-14T22:47:24.000Z”,  
“profile”: {  
“login”: “email”,  
“firstName”: “firstname”,  
“lastName”: “last name”,  
“locale”: “en”,  
“timeZone”: “America/Los\_Angeles”  
}  
}  
},  
“\_links”: {  
“cancel”: {  
“href”: “url”,  
“hints”: {  
“allow”: [  
“POST”  
]  
}  
}  
}  
}

---

<div class="post-metadata">

**Author:** ![guowei.shieh](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/guowei.shieh/32/29314_2.png) [@guowei.shieh](https://devforum.zoom.us/u/guowei.shieh)\
**Post date:** [October 11, 2019, 12:02am UTC](https://devforum.zoom.us/t/windows-demo-app-how-to-use-sso-account-to-join/6177/7 "2019-10-11T00:02:05Z")

</div>

never mind. found a way to get the token.

---

<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 11, 2019, 12:57am UTC](https://devforum.zoom.us/t/windows-demo-app-how-to-use-sso-account-to-join/6177/8 "2019-10-11T00:57:09Z")

</div>

Hi Guowei,

Glad to hear that you found the solution. I have modified your post a little bit since it contains your personal info. Let me know if you have any questions.

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, 6:59pm UTC](https://devforum.zoom.us/t/windows-demo-app-how-to-use-sso-account-to-join/6177/9 "2020-08-21T18:59:33Z")

</div>

Closed on August 21, 2020, 6:59pm UTC


