# Automated scripts authentication if JWT is deprecated

**URL:** <https://devforum.zoom.us/t/automated-scripts-authentication-if-jwt-is-deprecated/72518>\
**Category:** API and Webhooks\
**Tags:** oauth\
**Created:** [July 19, 2022, 9:04pm UTC](https://devforum.zoom.us/t/automated-scripts-authentication-if-jwt-is-deprecated/72518 "2022-07-19T21:04:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jferguson](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jferguson/32/9015_2.png) [@jferguson](https://devforum.zoom.us/u/jferguson)\
**Post date:** [July 19, 2022, 9:04pm UTC](https://devforum.zoom.us/t/automated-scripts-authentication-if-jwt-is-deprecated/72518/1 "2022-07-19T21:04:47Z")

</div>

I have several automated scripts that currently use JWT to authenticate. I’m told that JWT will be deprecated and that I’ll have to start using OAuth. In searching for other articles on using OAuth it’s stated that OAuth cannot be used except by prompting the user. Since that can’t be done in an automated script it’s also stated to use JWT. If JWT will no longer be allowed then what’s the recommended method of authenticating from an automated script? Are there some examples of how exactly this is accomplished?

---

<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:** [July 20, 2022, 12:54am UTC](https://devforum.zoom.us/t/automated-scripts-authentication-if-jwt-is-deprecated/72518/2 "2022-07-20T00:54:03Z")

</div>

Hey @jferguson  
Thanks for reaching out to the Zoom Developer Forum, I am happy to help here!  
We recently launched a new app type Server to Server OAuth that enables you get your account owner access token without user interaction., here is a link to our docs:

[https://marketplace.zoom.us/docs/guides/build/server-to-server-oauth-app/](https://marketplace.zoom.us/docs/guides/build/server-to-server-oauth-app/)

Also, find a helpful guide on how to use this app with Postman to get you started:

> [@How to user Server-to-Sever OAuth app with Postman](https://devforum.zoom.us/t/how-to-user-server-to-sever-oauth-app-with-postman/70848):
>
> How to use our Server-to-Server OAuth with Postman? As some of you might be aware of, our JWT app is being deprecated by June 2023 and we encourage you to migrate to the newly introduced [Server-to-Server OAuth App](https://marketplace.zoom.us/docs/guides/build/server-to-server-oauth-app) That being said, here is a quick and simple guide on how to use or new app with Postman As stated in our documentation here: This new app type facilitates OAuth-authenticated requests between servers without end-user involvement. And this grant type enable your private server a…

Cheers,  
Elisa

---

<div class="post-metadata">

**Author:** ![jferguson](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jferguson/32/9015_2.png) [@jferguson](https://devforum.zoom.us/u/jferguson)\
**Post date:** [July 20, 2022, 4:50pm UTC](https://devforum.zoom.us/t/automated-scripts-authentication-if-jwt-is-deprecated/72518/3 "2022-07-20T16:50:47Z")

</div>

This is exactly what I was looking for. I was able to get this implemented and is working perfectly for me. Thanks for the quick and detailed response.

---

<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:** [July 20, 2022, 5:07pm UTC](https://devforum.zoom.us/t/automated-scripts-authentication-if-jwt-is-deprecated/72518/4 "2022-07-20T17:07:06Z")

</div>

Happy to hear that worked out! @jferguson  
Let me know if you have any other questions related to the migration of your JWT app to Server to Server OAuth!

Have an amazing rest of the week!  
Best,  
Elisa

---

<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:** [August 20, 2022, 3:07am UTC](https://devforum.zoom.us/t/automated-scripts-authentication-if-jwt-is-deprecated/72518/5 "2022-08-20T03:07:14Z")

</div>

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