# Oauth credentials suddenly don't work

**URL:** <https://devforum.zoom.us/t/oauth-credentials-suddenly-dont-work/60423>\
**Category:** API and Webhooks\
**Created:** [November 18, 2021, 2:54pm UTC](https://devforum.zoom.us/t/oauth-credentials-suddenly-dont-work/60423 "2021-11-18T14:54:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mchirad](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mchirad/32/32701_2.png) [@mchirad](https://devforum.zoom.us/u/mchirad)\
**Post date:** [November 18, 2021, 2:54pm UTC](https://devforum.zoom.us/t/oauth-credentials-suddenly-dont-work/60423/1 "2021-11-18T14:54:38Z")

</div>

**Description**  
Aprox. 6 months ago I created an Oauth app (not in this account) which serves a local app for auth token regeneration every 55 minutes. It reads refresh\_token to get a new access\_token; I then submitted the applicacion for Zoom to review.  
When I first installed and got this app running I had to use development credentials, because it didn’t work with production credentials. It was working fine and had ~6 users with their auth tokens being refreshed every 55 minutes.

1 week ago we were requested to add new users to the platform, so new accounts would have their tokens being refreshed as the old ones, but suddenly, dev credentials would no longer work and had to switch to production credentials, all the previous tokens were expired and had to ask customers to authorize the app again.

¿Why did this happen?  
If we get a request, e.g. in 6 months to add new users to the platform, would it switch to dev again? Thank you.

**Error**  
invalid\_token, invalid\_request

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
OAuth

**Which Endpoint/s?**  
Currently the endpoint is [https://www.mywebsite.cl/enrolamiento](https://www.mywebsite.cl/enrolamiento) (not the real name)

**How To Reproduce (If applicable)**  
Steps to reproduce the behavior:  
N/A

**Screenshots (If applicable)**

**Additional context**  
I don’t have access to the OAuth application, because it was installed in a client’s account and they don’t give us direct access, but they share the OAuth credentials for us to develop.

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [November 22, 2021, 10:03pm UTC](https://devforum.zoom.us/t/oauth-credentials-suddenly-dont-work/60423/2 "2021-11-22T22:03:05Z")

</div>

Hi @mchirad ,

Thanks for sharing. This sounds like unexpected behaviors as production credentials should be the ones in use for people installing the app. If you experience issues, please email [developersupport@zoom.us](mailto:developersupport@zoom.us) with your app credentials, affected users, and the url of the redirect page displaying the error.

Gianni

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [December 23, 2021, 8:03am UTC](https://devforum.zoom.us/t/oauth-credentials-suddenly-dont-work/60423/3 "2021-12-23T08:03:23Z")

</div>

Closed on December 23, 2021, 8:03am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
