# Oauth refresh token not generating after an hour

**URL:** <https://devforum.zoom.us/t/oauth-refresh-token-not-generating-after-an-hour/51895>\
**Category:** API and Webhooks\
**Created:** [June 7, 2021, 10:07am UTC](https://devforum.zoom.us/t/oauth-refresh-token-not-generating-after-an-hour/51895 "2021-06-07T10:07:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cecureus](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/cecureus/32/27965_2.png) [@cecureus](https://devforum.zoom.us/u/cecureus)\
**Post date:** [June 7, 2021, 10:07am UTC](https://devforum.zoom.us/t/oauth-refresh-token-not-generating-after-an-hour/51895/1 "2021-06-07T10:07:57Z")

</div>

We have integrated an oAuth and all works good but after an hour the token got expired and the new fresh token is not generating to update on the DB. We have tested these cases, using postman, I am able to generate a refresh token before the access token expires ie before an hour, but it’s not allowing us to generate the token after it expires. I have attached the screenshot for your reference.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/1/d/1d5c27d8414f78e0af7dc724a83c6ae50848d09d.png)

---

<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:** [June 8, 2021, 9:36pm UTC](https://devforum.zoom.us/t/oauth-refresh-token-not-generating-after-an-hour/51895/2 "2021-06-08T21:36:44Z")

</div>

Hi @cecureus,

Thanks for reaching out!

Can you make sure that you’re using the same refresh\_token that was originally returned when you retrieved the initial access\_token? If you use a different refresh\_token, this will not work.

Let me know—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:** [July 9, 2021, 7:37am UTC](https://devforum.zoom.us/t/oauth-refresh-token-not-generating-after-an-hour/51895/3 "2021-07-09T07:37:09Z")

</div>

Closed on July 9, 2021, 7:37am UTC

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