# Issue with converting JWT to S2S Oauth for Azure AD SCIM

**URL:** <https://devforum.zoom.us/t/issue-with-converting-jwt-to-s2s-oauth-for-azure-ad-scim/88875>\
**Category:** API and Webhooks\
**Tags:** jwt, s2s-oauth\
**Created:** [May 23, 2023, 9:05am UTC](https://devforum.zoom.us/t/issue-with-converting-jwt-to-s2s-oauth-for-azure-ad-scim/88875 "2023-05-23T09:05:47Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chloe-smyl](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chloe-smyl/32/39711_2.png) [@Chloe-smyl](https://devforum.zoom.us/u/Chloe-smyl)\
**Post date:** [May 23, 2023, 9:05am UTC](https://devforum.zoom.us/t/issue-with-converting-jwt-to-s2s-oauth-for-azure-ad-scim/88875/1 "2023-05-23T09:05:47Z")

</div>

Hi all,  
Having a problem converting from JWT to S2s-oauth in Azure AD for auto provisioning.

I have made a new s2s oauth app and configured this in Zoom - this works fine. I am making API calls to it from my application, happily and it all works well.

The problem I have is our existing user auto provisioning app in Azure AD uses JWT and will need to be migrated by September 1, 2023. I have followed the guide, here: [https://support.zoom.us/hc/en-us/articles/115005887566-Configuring-Zoom-with-Azure](https://support.zoom.us/hc/en-us/articles/115005887566-Configuring-Zoom-with-Azure) however when it comes to this section:

 ![Screenshot 2023-05-23 at 5.03.44 pm](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/9/0/90100701df228f135fbb5183685d101b2ccec97d.jpeg)

this doesn’t seem to work. No matter what I do, in Azure, the drop down for OAuth2 Authorization Code Grant never appears. I have full global admin rights in Azure AD.  
The article shows this should be an option:

 ![Screenshot 2023-05-23 at 5.04.36 pm](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/5/d/5dd3da16b28f26c71bacafb44aaabd48375f1324.jpeg)

However I only have bearer token as an option.

Has anyone ever come across this and know a way forward?

Thank you!

---

<div class="post-metadata">

**Author:** ![Chloe-smyl](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chloe-smyl/32/39711_2.png) [@Chloe-smyl](https://devforum.zoom.us/u/Chloe-smyl)\
**Post date:** [May 23, 2023, 10:18am UTC](https://devforum.zoom.us/t/issue-with-converting-jwt-to-s2s-oauth-for-azure-ad-scim/88875/2 "2023-05-23T10:18:44Z")

</div>

Ok I found the issue for anyone else who has it - you need to be logged into the same browser profile with an account which has Azure AD permission and also permissions in Zoom over the account - which honestly is a bit insecure - we deliberately do not use Azure admin accounts as Zoom admin accounts for security reasons. But that was the issue.

---

<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:** [May 23, 2023, 9:21pm UTC](https://devforum.zoom.us/t/issue-with-converting-jwt-to-s2s-oauth-for-azure-ad-scim/88875/3 "2023-05-23T21:21:45Z")

</div>

Thanks for sharing your findings with the community!  
We really appreciate it! @Chloe-smyl

---

<div class="post-metadata">

**Author:** ![phredman](https://avatars.discourse-cdn.com/v4/letter/p/77aa72/32.png) [@phredman](https://devforum.zoom.us/u/phredman)\
**Post date:** [May 30, 2023, 6:47pm UTC](https://devforum.zoom.us/t/issue-with-converting-jwt-to-s2s-oauth-for-azure-ad-scim/88875/4 "2023-05-30T18:47:05Z")

</div>

> **[Migrating the Zoom app in Azure to OAuth](https://support.zoom.us/hc/en-us/articles/15053773250573)**
>
> As of June 1, customers will no longer be able to create new JWT apps. However, we have extended the final end-of-life date to September 1. Authentication for tokens created using the JWT app type ...

This article mentions refreshing the JWT token - if we’re migrating AWAY from JWT what’s the recourse here?

---

<div class="post-metadata">

**Author:** ![Chloe-smyl](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chloe-smyl/32/39711_2.png) [@Chloe-smyl](https://devforum.zoom.us/u/Chloe-smyl)\
**Post date:** [May 31, 2023, 1:58am UTC](https://devforum.zoom.us/t/issue-with-converting-jwt-to-s2s-oauth-for-azure-ad-scim/88875/5 "2023-05-31T01:58:20Z")

</div>

You’ll need to move to either OAuth or Server-to-server OAuth (which probably makes more sense for most use cases?).

---

<div class="post-metadata">

**Author:** ![phredman](https://avatars.discourse-cdn.com/v4/letter/p/77aa72/32.png) [@phredman](https://devforum.zoom.us/u/phredman)\
**Post date:** [May 31, 2023, 6:34pm UTC](https://devforum.zoom.us/t/issue-with-converting-jwt-to-s2s-oauth-for-azure-ad-scim/88875/6 "2023-05-31T18:34:11Z")

</div>

yeah, just wondering if the mention of the JWT token here is inaccurate or what.

---

<div class="post-metadata">

**Author:** ![Chloe-smyl](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chloe-smyl/32/39711_2.png) [@Chloe-smyl](https://devforum.zoom.us/u/Chloe-smyl)\
**Post date:** [June 1, 2023, 3:08am UTC](https://devforum.zoom.us/t/issue-with-converting-jwt-to-s2s-oauth-for-azure-ad-scim/88875/7 "2023-06-01T03:08:23Z")

</div>

I think the article mostly talks about how to move away from JWT tokens and I believe from today on, you cannot make new ones - but existing still work until September 1.

---

<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:** [June 3, 2024, 6:44pm UTC](https://devforum.zoom.us/t/issue-with-converting-jwt-to-s2s-oauth-for-azure-ad-scim/88875/8 "2024-06-03T18:44:55Z")

</div>

Closed on June 3, 2024, 6:44pm UTC

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