# OAuth just stopped working

**URL:** <https://devforum.zoom.us/t/oauth-just-stopped-working/1080>\
**Category:** API and Webhooks\
**Created:** [March 15, 2018, 6:33pm UTC](https://devforum.zoom.us/t/oauth-just-stopped-working/1080 "2018-03-15T18:33:44Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![philip.rousselle](https://avatars.discourse-cdn.com/v4/letter/p/46a35a/32.png) [@philip.rousselle](https://devforum.zoom.us/u/philip.rousselle)\
**Post date:** [March 15, 2018, 6:33pm UTC](https://devforum.zoom.us/t/oauth-just-stopped-working/1080/1 "2018-03-15T18:33:44Z")

</div>

I’m developing an OAuth application. About 45 minutes ago something changed. Now when I hit “Authorize” on the permission screen I don’t get my callback. I just get redirected to [zoom.us](http://zoom.us). Did something change on your end? I didn’t make any changes to my code. Still using the same key and secret. This happened about 11:00AM PDT today, March 15. Thanks

---

<div class="post-metadata">

**Author:** ![Otis\_Shou](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/otis_shou/32/132_2.png) [@Otis\_Shou](https://devforum.zoom.us/u/Otis_Shou)\
**Post date:** [March 15, 2018, 6:39pm UTC](https://devforum.zoom.us/t/oauth-just-stopped-working/1080/2 "2018-03-15T18:39:40Z")

</div>

Could you provide your clientId to me?

---

<div class="post-metadata">

**Author:** ![philip.rousselle](https://avatars.discourse-cdn.com/v4/letter/p/46a35a/32.png) [@philip.rousselle](https://devforum.zoom.us/u/philip.rousselle)\
**Post date:** [March 15, 2018, 6:43pm UTC](https://devforum.zoom.us/t/oauth-just-stopped-working/1080/3 "2018-03-15T18:43:18Z")

</div>

EZfazqnWSk2kICBrZbANZw

---

<div class="post-metadata">

**Author:** ![Otis\_Shou](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/otis_shou/32/132_2.png) [@Otis\_Shou](https://devforum.zoom.us/u/Otis_Shou)\
**Post date:** [March 15, 2018, 6:52pm UTC](https://devforum.zoom.us/t/oauth-just-stopped-working/1080/4 "2018-03-15T18:52:29Z")

</div>

Hi Philip, thanks for providing the clientId.

As you said, &nbsp;you just get redirected to [zoom.us](http://zoom.us). Could you provide the screenshot of this page? Perhaps it will display some error message.

I can’t authorize your clientId because we are not on the same account.

---

<div class="post-metadata">

**Author:** ![philip.rousselle](https://avatars.discourse-cdn.com/v4/letter/p/46a35a/32.png) [@philip.rousselle](https://devforum.zoom.us/u/philip.rousselle)\
**Post date:** [March 15, 2018, 6:59pm UTC](https://devforum.zoom.us/t/oauth-just-stopped-working/1080/5 "2018-03-15T18:59:01Z")

</div>

![](https://support.zoom.us/hc/user_images/en0kkWrzmbBkqvS7zz7n5g.png) ![](https://support.zoom.us/hc/user_images/q0aR-mit7usMmUSRJ71CGg.png)

---

<div class="post-metadata">

**Author:** ![Kavitha\_Kannan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kavitha_kannan/32/43_2.png) [@Kavitha\_Kannan](https://devforum.zoom.us/u/Kavitha_Kannan)\
**Post date:** [March 15, 2018, 7:41pm UTC](https://devforum.zoom.us/t/oauth-just-stopped-working/1080/6 "2018-03-15T19:41:27Z")

</div>

Hi Philip,

&nbsp; &nbsp;When&nbsp;i&nbsp; tested the url with your clientid this is the error i get.&nbsp; Please can you send us your cookie value for&nbsp; “\_zm\_bu” before when you click on Authorize button?&nbsp;

Thanks,

Kavitha

 ![](https://support.zoom.us/hc/user_images/sM6rNtNEkTgl88rLZeZjIA.png)

---

<div class="post-metadata">

**Author:** ![philip.rousselle](https://avatars.discourse-cdn.com/v4/letter/p/46a35a/32.png) [@philip.rousselle](https://devforum.zoom.us/u/philip.rousselle)\
**Post date:** [March 15, 2018, 8:38pm UTC](https://devforum.zoom.us/t/oauth-just-stopped-working/1080/7 "2018-03-15T20:38:32Z")

</div>

I thought the problem might be that my ngrok failed, so I restarted ngrok and changed the redirect URI in my code and in the application registration. It didn’t help, but that’s why the URI in this cookie is different than what you have.

&nbsp;

Here’s my cookie:

&nbsp;

\_zm\_mtk\_guid=37e7b7271c3ed0227a6223dd5cf65769; \_\_qca=P0-218001270-1506355333899; optimizelyEndUserId=oeu1506355330461r0.3720954570493875; \_ga=GA1.2.1089361550.1506355334; \_\_zlcmid=iggm1QYqvLFHmh; NPS\_0487a3ac\_last\_seen=1516644532227; \_zm\_lang=en-US; \_zm\_iplang=en-US#70.113.106.243; \_gid=GA1.2.254196761.1520867903; \_zm\_currency=USD; \_zm\_mtg\_options=%7B%22o1%22%3Afalse%2C%22o2%22%3A%22off%22%2C%22o3%22%3A%22off%22%2C%22o4%22%3A%22voip%22%2C%22o5%22%3Afalse%2C%22o6%22%3Afalse%2C%22o9%22%3A%22none%22%7D; \_zm\_launcher=1520957042584; \_zm\_ci=EZfazqnWSk2kICBrZbANZw; \_zm\_cs=""; visitor\_id84442=169583404; visitor\_id84442-hash=87a6bb382abc3833e738ab62629143d9e9d589bf47198de7e23cd1f5a0b2f57f6bcd77ae45be5c61eb5ca2246451c729f3a9b568; \_zm\_everlogin\_type=3; \_zm\_ssid=JDNgxDTsSya6oRTZV6QbvA; \_zm\_kms=q4NkUpOKZfDRtHJLTjDBvccseoT-4Wsk1VAi-sG-Nx8.EgEAAAFiKyA8lAB2pwAgM2VyeE5KRytUd29NYWduam9ZcTErR25LdzdoUkRWWlQYNmZaaW9uL01PMFEySGpTNkFwbVdZUT09IDQyZTM4Q3BYVElaRmZGaXNLVklHRzB0THpEVUt6a1pW; \_\_ar\_v4=F3M46SJCENDUJNOYHODQB7%3A20180312%3A1%7CDV47DVTZ4NHJNM5BVKACVM%3A20180312%3A24%7CMEJIJ4L4HBCHXCRQUE7MXI%3A20180217%3A4%7CFMRJCWUNEFG7BEWJTI3WI3%3A20180312%3A11%7CFYTZRQUEVVGS7EWCIOE64A%3A20180314%3A20%7CMNBMU5UBV5A6DJOSTXTI32%3A20180314%3A20; \_zm\_o2nd=a24fc711d3a8ab6538f14722185f8d89; \_zm\_o2bu=https%3A%2F%[2Fzoom.us](http://2Fzoom.us)%2Foauth%2Fauthorize%3Fclient\_id%3DEZfazqnWSk2kICBrZbANZw%26redirect\_uri%3Dhttps%3A%2F%[2F5618beaf.ngrok.io](http://2F5618beaf.ngrok.io)%2Fapi%2Fintegration%2Fcallback%26state%3D%7B%2522integrationId%2522%3A%2522AWIl1YBoo7B6B\_yiVPui%2522%2C%2522userId%2522%3A%2522AWIl0ce1o7B6B\_yiVPtx%2522%2C%2522nonce%2522%3A%25226ae8fe4b-7cec-4394-bd31-7a5632c76042%2522%7D%26response\_type%3Dcode; cred=51FF7B95A89FF0AE21242CA490D0BD46

---

<div class="post-metadata">

**Author:** ![philip.rousselle](https://avatars.discourse-cdn.com/v4/letter/p/46a35a/32.png) [@philip.rousselle](https://devforum.zoom.us/u/philip.rousselle)\
**Post date:** [March 15, 2018, 8:40pm UTC](https://devforum.zoom.us/t/oauth-just-stopped-working/1080/8 "2018-03-15T20:40:42Z")

</div>

Here is the authorization URL that goes with that cookie

&nbsp;

[https://zoom.us/oauth/authorize?client\_id=EZfazqnWSk2kICBrZbANZw&redirect\_uri=https://5618beaf.ngrok.io/api/integration/callback&state={“integrationId”:“AWIl1YBoo7B6B\_yiVPui”,“userId”:“AWIl0ce1o7B6B\_yiVPtx”,“nonce”:“6ae8fe4b-7cec-4394-bd31-7a5632c76042”}&response\_type=code](https://zoom.us/oauth/authorize?client_id=EZfazqnWSk2kICBrZbANZw&redirect_uri=https://5618beaf.ngrok.io/api/integration/callback&state=%7B%22integrationId%22:%22AWIl1YBoo7B6B_yiVPui%22,%22userId%22:%22AWIl0ce1o7B6B_yiVPtx%22,%22nonce%22:%226ae8fe4b-7cec-4394-bd31-7a5632c76042%22%7D&response_type=code)

---

<div class="post-metadata">

**Author:** ![Dan\_Greff](https://avatars.discourse-cdn.com/v4/letter/d/ce7236/32.png) [@Dan\_Greff](https://devforum.zoom.us/u/Dan_Greff)\
**Post date:** [March 15, 2018, 9:10pm UTC](https://devforum.zoom.us/t/oauth-just-stopped-working/1080/9 "2018-03-15T21:10:19Z")

</div>

Kavitha,

&nbsp;

Looking at the screen shot in your post, the URL you used didn’t include the ‘state’ parameter. I think that’s why my code errored.

&nbsp;

Philip

&nbsp;

---

<div class="post-metadata">

**Author:** ![philip.rousselle](https://avatars.discourse-cdn.com/v4/letter/p/46a35a/32.png) [@philip.rousselle](https://devforum.zoom.us/u/philip.rousselle)\
**Post date:** [March 16, 2018, 4:56pm UTC](https://devforum.zoom.us/t/oauth-just-stopped-working/1080/10 "2018-03-16T16:56:37Z")

</div>

Kavitha,

&nbsp;

Can you give me any help with this? Do you have a feel for whether the problem is on your end or am I doing something wrong?

&nbsp;

Thanks,

Philip

---

<div class="post-metadata">

**Author:** ![Kavitha\_Kannan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kavitha_kannan/32/43_2.png) [@Kavitha\_Kannan](https://devforum.zoom.us/u/Kavitha_Kannan)\
**Post date:** [March 16, 2018, 6:18pm UTC](https://devforum.zoom.us/t/oauth-just-stopped-working/1080/11 "2018-03-16T18:18:51Z")

</div>

Hi Philip,

&nbsp; Please can you try encoding the state value instead of JSON value ? Like below ?&nbsp;

&nbsp;[https://zoom.us/oauth/authorize?client\_id=EZfazqnWSk2kICBrZbANZw&redirect\_uri=https://5618beaf.ngrok.io/api/integration/callback&state=%7B%22integrationId%22%3A%22AWIl1YBoo7B6B\_yiVPui%22%2C%22userId%22%3A%22AWIl0ce1o7B6B\_yiVPtx%22%2C%22nonce%22%3A%226ae8fe4b-7cec-4394-bd31-7a5632c76042%22%7D&response\_type=code](https://zoom.us/oauth/authorize?client_id=EZfazqnWSk2kICBrZbANZw&redirect_uri=https://5618beaf.ngrok.io/api/integration/callback&state=%7B%22integrationId%22:%22AWIl1YBoo7B6B_yiVPui%22,%22userId%22:%22AWIl0ce1o7B6B_yiVPtx%22,%22nonce%22:%226ae8fe4b-7cec-4394-bd31-7a5632c76042%22%7D&response_type=code)

&nbsp;

Thanks

Kavitha

---

<div class="post-metadata">

**Author:** ![philip.rousselle](https://avatars.discourse-cdn.com/v4/letter/p/46a35a/32.png) [@philip.rousselle](https://devforum.zoom.us/u/philip.rousselle)\
**Post date:** [March 17, 2018, 12:57am UTC](https://devforum.zoom.us/t/oauth-just-stopped-working/1080/12 "2018-03-17T00:57:04Z")

</div>

Kavitha,

&nbsp;

I was working on trying your last suggestion and I’ve run into a new problem. My ngrok expired so I had to restart it. When I went to change the URI registration I got an error saying I need to login. I logged out, cleared my cookies and logged back in, but I’m still seeing the error. Clearly, I must be logged in or I would not have gotten to that page. Here’s the error I see:

&nbsp;

 ![](https://support.zoom.us/hc/user_images/GQKuldhRMlIJosyfrdGz-Q.png)

Philip

&nbsp;

---

<div class="post-metadata">

**Author:** ![Kavitha\_Kannan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kavitha_kannan/32/43_2.png) [@Kavitha\_Kannan](https://devforum.zoom.us/u/Kavitha_Kannan)\
**Post date:** [March 19, 2018, 11:21pm UTC](https://devforum.zoom.us/t/oauth-just-stopped-working/1080/13 "2018-03-19T23:21:23Z")

</div>

Hi Philip,

&nbsp; &nbsp;This issue has been fixed now. Please can you try and update us?

&nbsp;

Thanks,

Kavitha

---

<div class="post-metadata">

**Author:** ![philip.rousselle](https://avatars.discourse-cdn.com/v4/letter/p/46a35a/32.png) [@philip.rousselle](https://devforum.zoom.us/u/philip.rousselle)\
**Post date:** [March 21, 2018, 11:50pm UTC](https://devforum.zoom.us/t/oauth-just-stopped-working/1080/14 "2018-03-21T23:50:50Z")

</div>

I’ve been called away on other matters. It may be a few days (or longer) before I get back to this.
