# Google sign in for Zoom login iOS Zoom SDK

**URL:** <https://devforum.zoom.us/t/google-sign-in-for-zoom-login-ios-zoom-sdk/33313>\
**Category:** iOS\
**Created:** [October 15, 2020, 5:33am UTC](https://devforum.zoom.us/t/google-sign-in-for-zoom-login-ios-zoom-sdk/33313 "2020-10-15T05:33:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![suraj.shendkar](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@suraj.shendkar](https://devforum.zoom.us/u/suraj.shendkar)\
**Post date:** [October 15, 2020, 5:33am UTC](https://devforum.zoom.us/t/google-sign-in-for-zoom-login-ios-zoom-sdk/33313/1 "2020-10-15T05:33:14Z")

</div>

**Description**  
I need to add google sign-in capability for zoom login through zoom SDK in my own app. I have added google sign in capability to my own project to get token after login. I have a pass that token to loginWithSSO (MobileRTC.shared().getAuthService()?.login(withSSOToken: AccessToken!, rememberMe: false) function using zoom SDK but it failed to login. Somewhere I read that we need to generate the SSO token for login. Can you tell me how do I generate the SSO token after successfully log in from google?

**Which version?**  
Version: v5.0.24433.0616  
Xcode Version: 11.5  
macOS: Catalina (10.15.5)

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

1. Add google sign-in capability.
2. get the token from google sign in.
3. pass that token to login with SSO function to login.
4. Got 1006 return value in onMobileRTCLoginReturn callback

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

- Device: iPhone 6
- OS: iOS 12
- Version 4.8

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [October 23, 2020, 7:11pm UTC](https://devforum.zoom.us/t/google-sign-in-for-zoom-login-ios-zoom-sdk/33313/2 "2020-10-23T19:11:19Z")

</div>

Hey @suraj.shendkar

Thanks for using the dev forum!

I do not believe you can pass the token given to you from Google directly into that function. To leverage SSO in this SDK you would need to set up your SSO through Zoom. This page should put you in the right direction with this process [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).

If you have any other questions please let me know.  
Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![sofiavergarausa615](https://avatars.discourse-cdn.com/v4/letter/s/7c8e57/32.png) [@sofiavergarausa615](https://devforum.zoom.us/u/sofiavergarausa615)\
**Post date:** [May 20, 2021, 11:53am UTC](https://devforum.zoom.us/t/google-sign-in-for-zoom-login-ios-zoom-sdk/33313/3 "2021-05-20T11:53:34Z")

</div>

Thanks[.](http://nikkah.pk/)

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [May 20, 2021, 3:22pm UTC](https://devforum.zoom.us/t/google-sign-in-for-zoom-login-ios-zoom-sdk/33313/4 "2021-05-20T15:22:28Z")

</div>

Hey @sofiavergarausa615,

You are welcome! Please let us know if you have any other questions.

Thanks!  
Michael
