Login with Google

Description
How do I let a user log in using Google if that is how they set up their zoom account using the Zoom iOS SDK? Am I supposed to just set up a Sign in with Google and pass their access token created via my own app’s google sign in into loginWithSSO or is SSO totally separate from Google auth?

Which version?
v4.6.15084.0206

To Reproduce(If applicable)

  1. Download Sample App for zoom ios sdk
  2. Go to settings
  3. Press sign in
    Expected result:
    Sign in options like in Zoom app
    Actual results:
    Either email/password or SSO manually inputted token

Smartphone (please complete the following information):
iPhone 7+ iOS v12.0.1

Additional context
It seems that the login options on the sdk sample are generally lacking. Even the alert view asking for username and password would look untrustworthy to a user who does not know that the information is passing through Zoom’s servers only.

Hi riskdiceshaker,

Thanks for the post.

That’s correct. Our Client SDK provides the interface loginWithSSO for any types of SSO login such as Google, Facebook, your own Idp, etc, and this interface expects an SSO token. The process of how to generate the SSO token needs to be handled by the developer. You may refer to the support doc here for more info:https://support.zoom.us/hc/en-us/sections/200305453-Single-Sign-On

Thanks!

I think the SSO token is generated by Zoom, not Google Sign in. Zoom uses the token created by Google to create the SSO token. But Zoom won’t do this using a token from a Google sign in for your own service (otherwise this would allow you to access Zoom accounts for anyone who logged into your service).

If you click the “Sign in with Google” button (or the SSO or Facebook buttons) in the Linux client, and then sign in, it will take you to a page that says “Zoom should launch in a few seconds. If not, please click button below.” The “Launch Zoom” link on this page includes a token that should work with loginWithSSO. It would be nice if this were documented somewhere. It took me a while to figure out. But I hope this helps someone else out.

1 Like

It actually looks like there’s no way to use the SDK with a Google login. The SSO token only works for SSO logins that aren’t Facebook or Google. However, if a user registers an account using the same email associated with a Facebook login, this allows them to login to the same account using a username and password. It doesn’t create a separate account. The person can then login to your app using their email and the password they created.