# Trouble Handling Zoom OAuth Token Refresh in Custom Web App Integration

**URL:** <https://devforum.zoom.us/t/trouble-handling-zoom-oauth-token-refresh-in-custom-web-app-integration/131632>\
**Category:** API and Webhooks\
**Created:** [April 18, 2025, 1:09pm UTC](https://devforum.zoom.us/t/trouble-handling-zoom-oauth-token-refresh-in-custom-web-app-integration/131632 "2025-04-18T13:09:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Linta](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/linta/32/68631_2.png) [@Linta](https://devforum.zoom.us/u/Linta)\
**Post date:** [April 18, 2025, 1:09pm UTC](https://devforum.zoom.us/t/trouble-handling-zoom-oauth-token-refresh-in-custom-web-app-integration/131632/1 "2025-04-18T13:09:27Z")

</div>

Hi everyone,

I’m working on integrating Zoom’s API into a custom web application where users can authorize their Zoom accounts to schedule and manage meetings from our platform. I’m using the OAuth flow and everything works fine initially—users can authorize successfully and we receive the access and refresh tokens without issue.

However, I’m running into a problem when trying to refresh the access token once it expires. Despite using the correct refresh token and hitting the [https://zoom.us/oauth/token](https://zoom.us/oauth/token) endpoint with the right headers and parameters (grant\_type=refresh\_token, basic auth with client ID and secret), I’m getting a 401 Invalid Token response. I’ve double-checked that the refresh token hasn’t been revoked and that we’re not reusing the same refresh token multiple times.

I’m also storing the new refresh token after each successful refresh, but I’ve read that Zoom rotates them—so I’m wondering if I’m missing a step in securely updating and storing these tokens?

Has anyone experienced similar issues with Zoom’s token refresh flow? Are there best practices to follow to avoid this kind of token expiration issue? Also, could it be related to how long users stay inactive before trying to access Zoom again through our app?

Thanks in advance for any guidance—would love to get this working smoothly!

---

<div class="post-metadata">

**Author:** ![Linta](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/linta/32/68631_2.png) [@Linta](https://devforum.zoom.us/u/Linta)\
**Post date:** [April 19, 2025, 9:29pm UTC](https://devforum.zoom.us/t/trouble-handling-zoom-oauth-token-refresh-in-custom-web-app-integration/131632/2 "2025-04-19T21:29:57Z")

</div>

> [@Linta](#):
>
> Hi everyone,
> 
> I’m working on integrating Zoom’s API into a custom web application where users can authorize their Zoom accounts to schedule and manage meetings from our platform. I’m using the OAuth flow and everything works fine initially—users can authorize successfully and we receive the access and refresh tokens without issue.
> 
> However, I’m running into a problem when trying to refresh the access token once it expires. Despite using the correct refresh token and hitting the [https://zoom.us/oauth/token](https://zoom.us/oauth/token) endpoint with the right headers and parameters (grant\_type=refresh\_token, basic auth with client ID and secret), I’m getting a 401 Invalid Token response. I’ve double-checked that the refresh token hasn’t been revoked and that we’re not reusing the same refresh token multiple times.
> 
> I’m also storing the new refresh token after each successful refresh, but I’ve read that Zoom rotates them—so I’m wondering if I’m missing a step in securely updating and storing these tokens?
> 
> Has anyone experienced similar issues with Zoom’s token refresh flow? Are there best practices to follow to avoid this kind of token expiration issue? Also, could it be related to how long users stay inactive before trying to access Zoom again through our app?

Is there anyone who can help with this?

---

<div class="post-metadata">

**Author:** ![Linta](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/linta/32/68631_2.png) [@Linta](https://devforum.zoom.us/u/Linta)\
**Post date:** [April 21, 2025, 8:17pm UTC](https://devforum.zoom.us/t/trouble-handling-zoom-oauth-token-refresh-in-custom-web-app-integration/131632/3 "2025-04-21T20:17:25Z")

</div>

> [@Linta](#):
>
> Hi everyone,
> 
> I’m working on integrating Zoom’s API into a custom web application where users can authorize their Zoom accounts to schedule and manage meetings from our platform. I’m using the OAuth flow and everything works fine initially—users can authorize successfully and we receive the access and refresh tokens without issue.
> 
> However, I’m running into a problem when trying to refresh the access token once it expires. Despite using the correct refresh token and hitting the [https://zoom.us/oauth/token](https://zoom.us/oauth/token) endpoint with the right headers and parameters (grant\_type=refresh\_token, basic auth with client ID and secret), I’m getting a 401 Invalid Token response. I’ve double-checked that the refresh token hasn’t been revoked and that we’re not reusing the same refresh token multiple times.
> 
> I’m also storing the new refresh token after each successful refresh, but I’ve read that Zoom rotates them—so I’m wondering if I’m missing a step in securely updating and storing these tokens?
> 
> Has anyone experienced similar issues with Zoom’s token refresh flow? Are there best practices to follow to avoid this kind of token expiration issue? Also, could it be related to how long users stay inactive before trying to access Zoom again through our app?

I want guidance please.

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [April 21, 2025, 8:29pm UTC](https://devforum.zoom.us/t/trouble-handling-zoom-oauth-token-refresh-in-custom-web-app-integration/131632/4 "2025-04-21T20:29:34Z")

</div>

Hi @Linta  
Thanks for reaching out to us!  
Happy to help here!  
Can you please share with us the request you are sending when refreshing your access tokens?  
refresh tokens are valid for 90 days

---

<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:** [April 25, 2026, 12:06pm UTC](https://devforum.zoom.us/t/trouble-handling-zoom-oauth-token-refresh-in-custom-web-app-integration/131632/5 "2026-04-25T12:06:29Z")

</div>

Closed on April 25, 2026, 12:06pm UTC

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