# Zoom Refresh Token Expires For Multi-tenant application

**URL:** <https://devforum.zoom.us/t/zoom-refresh-token-expires-for-multi-tenant-application/31630>\
**Category:** API and Webhooks\
**Created:** [September 29, 2020, 1:31pm UTC](https://devforum.zoom.us/t/zoom-refresh-token-expires-for-multi-tenant-application/31630 "2020-09-29T13:31:02Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![mpschmid](https://avatars.discourse-cdn.com/v4/letter/m/4491bb/32.png) [@mpschmid](https://devforum.zoom.us/u/mpschmid)\
**Post date:** [September 29, 2020, 1:31pm UTC](https://devforum.zoom.us/t/zoom-refresh-token-expires-for-multi-tenant-application/31630/1 "2020-09-29T13:31:02Z")

</div>

Hi there. We run a multi-tenant application that connects to the Zoom API using our customer’s access tokens and refreshes hourly with the refresh token. Occasionally there are errors and the refresh token isn’t saved. Would it be possible to increase our token expiry tolerance for the Peoplelogic.ai application? Even being able to re-use once should help.

Thanks!  
Matt

---

<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:** [September 29, 2020, 1:31pm UTC](https://devforum.zoom.us/t/zoom-refresh-token-expires-for-multi-tenant-application/31630/2 "2020-09-29T13:31:07Z")

</div>

Hey @mpschmid

Thanks for posting on the Zoom Devforum! I am still learning, but I will try my best to help answer your question. 🙂

Checkout these related threads that may have the answer you are looking for:

> [@Failed to find the refresh Token. The Token may be regenerated](https://devforum.zoom.us/t/-/1767):
>
> &nbsp; Hello, We have a Zoom integration through a Zoom marketplace app and we’re seeing some odd patterns regarding refresh tokens. We’re following the docs in&nbsp;[https://devdocs.zoom.us/docs/authorization/oauth-with-zoom](https://devdocs.zoom.us/docs/authorization/oauth-with-zoom) To summarize: At the end of the OAuth flow, Zoom provides us both an access and a refresh token. When the access token expires, we use the refresh token to get a new access and refresh token. We store both&nbsp;of them for the next requests. Everything works smoothly, the weird thin…

> [@Refresh token doesn't work](https://devforum.zoom.us/t/-/6963):
>
> Hi all! Refresh token doesn’t work First getting refresh token: Uri: https://zoom.us/oauth/token Content: grant\_type=refresh\_token&refresh\_token=eyJhbGciOiJIUzUxMiJ9.eyJ2ZXIiOiI2IiwiY2xpZW50SWQiOiI0MUdyaVR6VVF4NlQ0dHpkWndSTDVBIiwiY29kZSI6IldFOWhpODJCQzdfSnUzU3FURGZRWkswdXpLRkxQWm41QSIsImlzcyI6InVybjp6b29tOmNvbm5lY3Q6Y2xpZW50aWQ6NDFHcmlUelVReDZUNHR6ZFp3Ukw1QSIsImF1dGhlbnRpY2F0aW9uSWQiOiJlNDUwNzUwZWI3N2NlN2UwZWRlMDliYzI5MDE3YTI0ZiIsImVudiI6W251bGxdLCJ1c2VySWQiOiJKdTNTcVREZlFaSzB1ektGTFBabjV…

If these threads did not help, please let us know by replying back here and someone from the Developer Relations team will get back to you shortly.

Thanks,  
DeveloperBot

---

<div class="post-metadata">

**Author:** ![mpschmid](https://avatars.discourse-cdn.com/v4/letter/m/4491bb/32.png) [@mpschmid](https://devforum.zoom.us/u/mpschmid)\
**Post date:** [September 29, 2020, 1:36pm UTC](https://devforum.zoom.us/t/zoom-refresh-token-expires-for-multi-tenant-application/31630/3 "2020-09-29T13:36:39Z")

</div>

Replying back per the bot. I’d like to increase our token expiry tolerance as we can’t ask our customers to re-authorize the application each time there’s an error in the background.

-Matt

---

<div class="post-metadata">

**Author:** ![diegoj](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/diegoj/32/11249_2.png) [@diegoj](https://devforum.zoom.us/u/diegoj)\
**Post date:** [September 30, 2020, 4:49pm UTC](https://devforum.zoom.us/t/zoom-refresh-token-expires-for-multi-tenant-application/31630/4 "2020-09-30T16:49:57Z")

</div>

Same problem here. I would appreciate a solution to this. It would be nice if not only the last Refresh Token is valid, but also previous ones as well. Thanks.

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [October 1, 2020, 8:55pm UTC](https://devforum.zoom.us/t/zoom-refresh-token-expires-for-multi-tenant-application/31630/5 "2020-10-01T20:55:22Z")

</div>

Hey @diegoj @mpschmid,

Can you provide some more details about your use cases and issues you’re running into with your current refresh tokens to [developersupport@zoom.us](mailto:developersupport@zoom.us)?

Thanks!  
Will

---

<div class="post-metadata">

**Author:** ![mpschmid](https://avatars.discourse-cdn.com/v4/letter/m/4491bb/32.png) [@mpschmid](https://devforum.zoom.us/u/mpschmid)\
**Post date:** [October 1, 2020, 11:18pm UTC](https://devforum.zoom.us/t/zoom-refresh-token-expires-for-multi-tenant-application/31630/6 "2020-10-01T23:18:01Z")

</div>

Hi there. Our individual customers connect their zoom accounts to our service using OAuth and then we poll hourly for activity and insights in the users in their zoom account. The issue comes when we fetch the new access token but then have some error during processing and the new token has been issued but the token and refresh token aren’t saved because of some error processing. We’re working around the issue, but it would be nice if it wasn’t so sensitive - our other integrations that use refresh tokens don’t seem to need to be reconnected all the time.

-Matt

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [October 2, 2020, 5:38pm UTC](https://devforum.zoom.us/t/zoom-refresh-token-expires-for-multi-tenant-application/31630/7 "2020-10-02T17:38:26Z")

</div>

Hey @mpschmid,

I appreciate the clarification and for laying out your use case—this is valuable feedback and I will share this internally with our team. I’d also recommend, if you’re so inclined, suggesting this sensitivity as a feature request here: #feature-requests

Thanks,  
Will

---

<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:** [November 2, 2020, 3:38am UTC](https://devforum.zoom.us/t/zoom-refresh-token-expires-for-multi-tenant-application/31630/8 "2020-11-02T03:38:27Z")

</div>

Closed on November 2, 2020, 3:38am UTC

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