# What token should I use for Azure AD connector after JWT token deprecated?

**URL:** <https://devforum.zoom.us/t/what-token-should-i-use-for-azure-ad-connector-after-jwt-token-deprecated/73017>\
**Category:** Authentication\
**Created:** [July 26, 2022, 10:57pm UTC](https://devforum.zoom.us/t/what-token-should-i-use-for-azure-ad-connector-after-jwt-token-deprecated/73017 "2022-07-26T22:57:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![wibbleman](https://avatars.discourse-cdn.com/v4/letter/w/85e7bf/32.png) [@wibbleman](https://devforum.zoom.us/u/wibbleman)\
**Post date:** [July 26, 2022, 10:57pm UTC](https://devforum.zoom.us/t/what-token-should-i-use-for-azure-ad-connector-after-jwt-token-deprecated/73017/1 "2022-07-26T22:57:42Z")

</div>

Hello  
I am going to use Azure AD to provision Zoom users. The [step-by-step docs](https://docs.microsoft.com/en-us/azure/active-directory/saas-apps/zoom-provisioning-tutorial) I can find still uses JWT token but Zoom is going to deprecate it next year.  
which token should I use for my Azure AD connector? Server\_to\_server oauth token’s live time is only 1 hour which cannot be used here(Azure AD connector only accepts token, not client\_ID and client\_secret).

Thank you.

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [July 27, 2022, 6:53am UTC](https://devforum.zoom.us/t/what-token-should-i-use-for-azure-ad-connector-after-jwt-token-deprecated/73017/2 "2022-07-27T06:53:47Z")

</div>

Hi @wibbleman , JWT app _types_ will be deprecated, but not JWTs themselves. JWTs are and will continue to be used with certain Zoom developer products like our Web SDK.

**This is NOT officially supported by Zoom nor can I recommend this** , but if this is something you want to test/play around with since JWTs can be used as OAuth 2.0 [Bearer Tokens](https://oauth.net/2/bearer-tokens/) below are some more thoughts. Understand that I have also not used Azure AD, and I recommend reaching out to them for additional support:

1. Create a Server-to-Server App
2. Use the account credentials (account id, client id and secret) to generate a JWT key leveraging the [the JWT auth doc](https://marketplace.zoom.us/docs/guides/auth/jwt#generating-jwts) and [SDK JWT doc](https://marketplace.zoom.us/docs/sdk/native-sdks/auth/#generate-the-sdk-jwt) as inspo
3. If you construct a valid bearer token that fits with Azure AD, this could be an approach to use until they release an officially supported method

Hope that helps!

Gianni

---

<div class="post-metadata">

**Author:** ![wibbleman](https://avatars.discourse-cdn.com/v4/letter/w/85e7bf/32.png) [@wibbleman](https://devforum.zoom.us/u/wibbleman)\
**Post date:** [July 27, 2022, 5:16pm UTC](https://devforum.zoom.us/t/what-token-should-i-use-for-azure-ad-connector-after-jwt-token-deprecated/73017/3 "2022-07-27T17:16:28Z")

</div>

Thank you Gianni. Yes you are correct, I re-read the link below and Zoom didn’t say they will deprecate JWTs but only JWT app

> **[JWT App Type Deprecation FAQ](https://marketplace.zoom.us/docs/guides/build/jwt-app/jwt-faq/)**
>
> The Zoom Developer Platform is an open platform that allows third-party developers to build applications and integrations upon Zoom’s video-first unified communications platform.

In this cases, we can compose JWTs by ourselves since we can get API\_Key & API\_secret from Server\_to\_server App.

Thanks again

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [July 28, 2022, 1:19am UTC](https://devforum.zoom.us/t/what-token-should-i-use-for-azure-ad-connector-after-jwt-token-deprecated/73017/4 "2022-07-28T01:19:50Z")

</div>

Okay great! Please update here if it works.
