# OAuth App Authorization Problems w/Facebook and Google

**URL:** <https://devforum.zoom.us/t/oauth-app-authorization-problems-w-facebook-and-google/5840>\
**Category:** API and Webhooks\
**Created:** [September 10, 2019, 6:30pm UTC](https://devforum.zoom.us/t/oauth-app-authorization-problems-w-facebook-and-google/5840 "2019-09-10T18:30:20Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ron.straight](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ron.straight/32/1624_2.png) [@ron.straight](https://devforum.zoom.us/u/ron.straight)\
**Post date:** [September 10, 2019, 6:30pm UTC](https://devforum.zoom.us/t/oauth-app-authorization-problems-w-facebook-and-google/5840/1 "2019-09-10T18:30:21Z")

</div>

We’re using OAuth to allow users to authorize our Zoom app. After redirecting to [https://zoom.us/oauth/signin?\_rnd=1568140018605&client\_id=JdycgBLETAKKEDIiz3eTjw&redirect\_uri=https%3A%2F%2Fzaas-dev.zmc.com%2F%40zimbra%2Fservice%2Fextension%2Foauth2%2Fauthenticate%2Fzoom&response\_type=code&state=/zoomAuthCompleted;noop&scope=user:read%20meeting:write%20webinar:write](https://zoom.us/oauth/signin?_rnd=1568140018605&client_id=JdycgBLETAKKEDIiz3eTjw&redirect_uri=https%3A%2F%2Fzaas-dev.zmc.com%2F%40zimbra%2Fservice%2Fextension%2Foauth2%2Fauthenticate%2Fzoom&response_type=code&state=/zoomAuthCompleted;noop&scope=user:read%20meeting:write%20webinar:write)  
I can sign in with my [Zoom.us](http://Zoom.us) credentials, and everything works fine.

However, if I try to sign in with Google, I end up at [https://zoom.us/signin](https://zoom.us/signin), and if I try to login from that page with my [Zoom.us](http://Zoom.us) credentials, it just reloads the page without any indication of an error.

Similar behavior when attempting to sign in with Facebook.

Our app is in dev mode, so I wouldn’t expect the Google or Facebook accounts to be able to authorize it, but the user experience is confusing.

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [September 10, 2019, 10:03pm UTC](https://devforum.zoom.us/t/oauth-app-authorization-problems-w-facebook-and-google/5840/2 "2019-09-10T22:03:35Z")

</div>

Hi @ron.straight,

Thanks for reaching out. Can you provide us your appID and redirect url that you’re using?

Thanks

---

<div class="post-metadata">

**Author:** ![ron.straight](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ron.straight/32/1624_2.png) [@ron.straight](https://devforum.zoom.us/u/ron.straight)\
**Post date:** [September 11, 2019, 2:28pm UTC](https://devforum.zoom.us/t/oauth-app-authorization-problems-w-facebook-and-google/5840/3 "2019-09-11T14:28:49Z")

</div>

Hey, @michael_p.zoom.

```
AppID: JdycgBLETAKKEDIiz3eTjw
Redirect URL: https://zaas-dev.zmc.com/@zimbra/service/extension/oauth2/authenticate/zoom&response_type=code&state=/zoomAuthCompleted;noop&scope=user:read+meeting:write+webinar:write

```

The [zaas-dev.zmc.com](http://zaas-dev.zmc.com) domain points to localhost in my hosts file.

Like I said, the process works fine for my [Zoom.us](http://Zoom.us) credentials. It’s only a problem when trying to sign on with one of the alternatives such as Google or Facebook. I assume those wouldn’t have access to the app since it’s in dev mode and only accessible by me, but in that case I’d expect to get the authorization screen error and not redirected to signin.

-Ron

---

<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:** [September 11, 2019, 4:26pm UTC](https://devforum.zoom.us/t/oauth-app-authorization-problems-w-facebook-and-google/5840/4 "2019-09-11T16:26:36Z")

</div>

Hey @ron.straight,

It seems like your redirect URL is malformed which could be the issue. You also do not need to include the scopes and response\_type in the url.

I tested with the following redirect url and it worked,

`https://zaas-dev.zmc.com/@zimbra/service/extension/oauth2/authenticate/zoom?state=zoomAuthCompleted`

![50%20AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/f/f36cad31fb53fbb89afcf8f65f6cf3b3d2e4c7fd.png)

Let me know if this helps!

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![ron.straight](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ron.straight/32/1624_2.png) [@ron.straight](https://devforum.zoom.us/u/ron.straight)\
**Post date:** [September 11, 2019, 6:54pm UTC](https://devforum.zoom.us/t/oauth-app-authorization-problems-w-facebook-and-google/5840/5 "2019-09-11T18:54:35Z")

</div>

Hi, @tommy.

Whoops, Sorry. I was parsing the URL wrong. The actual `redirect_uri` is what was in the original URL I posted:

[https://zaas-dev.zmc.com/@zimbra/service/extension/oauth2/authenticate/zoom](https://zaas-dev.zmc.com/@zimbra/service/extension/oauth2/authenticate/zoom)

---

<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:** [September 11, 2019, 7:39pm UTC](https://devforum.zoom.us/t/oauth-app-authorization-problems-w-facebook-and-google/5840/6 "2019-09-11T19:39:35Z")

</div>

Hey @ron.straight,

No worries, thanks for posting it again! After testing with that url, it is working as expected. See video:

> **[zoom-google-auth.mov (video)](https://drive.google.com/file/d/11sLtYn3NjO1lSkL2MD8uTW2lKP9CjvMx/view?usp=sharing)**
>
> Google Drive file.

Can you confirm you are following the steps in the video. If it is still not working please provide steps to reproduce and if possible a video of what is happening.

Thanks,  
Tommy

---

<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:41pm UTC](https://devforum.zoom.us/t/oauth-app-authorization-problems-w-facebook-and-google/5840/7 "2020-08-21T18:41:43Z")

</div>

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


