# Migrating from JWT to Server-to-Server OAuth - Token\_type:bearer, expires\_in: 3599

**URL:** <https://devforum.zoom.us/t/migrating-from-jwt-to-server-to-server-oauth-token-type-bearer-expires-in-3599/89381>\
**Category:** Authentication\
**Created:** [May 31, 2023, 3:37pm UTC](https://devforum.zoom.us/t/migrating-from-jwt-to-server-to-server-oauth-token-type-bearer-expires-in-3599/89381 "2023-05-31T15:37:20Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![MultiplayerSession](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/multiplayersession/32/66446_2.png) [@MultiplayerSession](https://devforum.zoom.us/u/MultiplayerSession)\
**Post date:** [May 31, 2023, 3:53pm UTC](https://devforum.zoom.us/t/migrating-from-jwt-to-server-to-server-oauth-token-type-bearer-expires-in-3599/89381/2 "2023-05-31T15:53:35Z")

</div>

[Redo the call to the `/oauth/token` endpoint with your `account_credentials` grant type to get a fresh access token.](https://developers.zoom.us/docs/internal-apps/#get-a-new-access-token)

If your application might have more than one concurrent usage of Zoom’s APIs, you probably want to implement a [key rotation strategy](https://devforum.zoom.us/t/concurrency-issue-in-server-to-server-oauth-app-token-gets-expired/86256/11) because requesting a new access token will immediately revoke your current (previous) access token. Since you’re under time constraints, you’ll probably want to go with the multiple Server-to-Server OAuth applications implementation (instead of the `token_index` increase) since that requires no interaction with Developer Support.

---

_[View the full topic](https://devforum.zoom.us/t/migrating-from-jwt-to-server-to-server-oauth-token-type-bearer-expires-in-3599/89381)._
