# OAuth login with Google

**URL:** <https://devforum.zoom.us/t/oauth-login-with-google/4357>\
**Category:** API and Webhooks\
**Created:** [May 23, 2019, 2:19am UTC](https://devforum.zoom.us/t/oauth-login-with-google/4357 "2019-05-23T02:19:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![emoore](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/emoore/32/761_2.png) [@emoore](https://devforum.zoom.us/u/emoore)\
**Post date:** [May 23, 2019, 2:19am UTC](https://devforum.zoom.us/t/oauth-login-with-google/4357/1 "2019-05-23T02:19:09Z")

</div>

I have an account app ([http://mywebsite.com](http://mywebsite.com)) that allows users to push a button to Authorize the app to use their Zoom account. In development, I am using http instead of https. When I click on the Authorize app button and then sign into Zoom with Google, I get the following error:

“Invalid redirect: **https** ://mywebsite.com/zoomredirect does not match one of the registered values: [**http** ://mywebsite.com, **http** ://mywebsite.com/zoomredirect] (4,700)”

However, if I push the Authorize button on my app a second time then I am able to authorize my app through Google login.

Why do I get the error message?

---

<div class="post-metadata">

**Author:** ![TimZoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/timzoom/32/978_2.png) [@TimZoom](https://devforum.zoom.us/u/TimZoom)\
**Post date:** [May 23, 2019, 7:22pm UTC](https://devforum.zoom.us/t/oauth-login-with-google/4357/2 "2019-05-23T19:22:34Z")

</div>

We enforce https during the redirect process. Since these are secure tokens we always want them to go over https. Saying that, are you using the “test URL” or the “Install URL”. I am asking because I think we should allow the “Test URL” (development) to allows http if it is in the whitelist.

Looking forward to hearing back from you.

---

<div class="post-metadata">

**Author:** ![emoore](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/emoore/32/761_2.png) [@emoore](https://devforum.zoom.us/u/emoore)\
**Post date:** [May 24, 2019, 2:10am UTC](https://devforum.zoom.us/t/oauth-login-with-google/4357/3 "2019-05-24T02:10:30Z")

</div>

I am using the test or development url. Technically, I guess it allows http just not the first time I click on the authorize button.

Eric
