# JWT deprecated to Server-Server OAuth problem

**URL:** <https://devforum.zoom.us/t/jwt-deprecated-to-server-server-oauth-problem/93024>\
**Category:** Video SDK\
**Created:** [August 7, 2023, 12:03pm UTC](https://devforum.zoom.us/t/jwt-deprecated-to-server-server-oauth-problem/93024 "2023-08-07T12:03:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rinki](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rinki/32/48806_2.png) [@rinki](https://devforum.zoom.us/u/rinki)\
**Post date:** [August 7, 2023, 12:03pm UTC](https://devforum.zoom.us/t/jwt-deprecated-to-server-server-oauth-problem/93024/1 "2023-08-07T12:03:26Z")

</div>

I have a account Zoom session sdk but, don’t options for create build shoing only Build VIdeo SDK and don’t option for create S2S OAuth.  
and don’t option for role User Management \> Roles \> Role Settings \> Advanced features and select the View and Edit check boxes for Server-to-Server OAuth

 ![oauth](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/9/4/94b67d7b665a79f77aae912657dc774718cd6ad6.png)  
 ![role](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/1/5/15b97691fa8197abea5339d9fae330dbaf758352.png)

Thanks.

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [August 7, 2023, 12:43pm UTC](https://devforum.zoom.us/t/jwt-deprecated-to-server-server-oauth-problem/93024/2 "2023-08-07T12:43:54Z")

</div>

@rinki ,

Sorry for the confusion.

Video SDK is not affected by JWT App Type deprecation.

---

<div class="post-metadata">

**Author:** ![rinki](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rinki/32/48806_2.png) [@rinki](https://devforum.zoom.us/u/rinki)\
**Post date:** [August 8, 2023, 4:38am UTC](https://devforum.zoom.us/t/jwt-deprecated-to-server-server-oauth-problem/93024/3 "2023-08-08T04:38:35Z")

</div>

Why is JWT token video calling no longer working after August 5th? This was something we used to do a year ago. We use JWT tokens for zoom video calling.

Let me know if any update for Zoom video sdk update.  
This is my code for create token.

try {  
$secret = env(‘ZOOM\_SDK\_SECRET’);  
$payload = array(  
“version”=\>1,  
“app\_key” =\> env(‘ZOOM\_SDK\_KEY’),  
“role\_type”=\> (int)$userRole,  
“user\_identity”=\>(string)$userIdentity,  
“session\_key” =\> (string)$jobId,  
“tpc”=\>env(‘ZOOM\_DOMAIN’).‘-’.$jobId,  
“iat”=\>time(),  
‘exp’ =\> time() + 7200,  
);

```
$token=\Firebase\JWT\JWT::encode($payload, $secret, 'HS256');
$data['token'] = $token;
$data['status']='success';
return $data;

```

} catch (Exception $e) {

```
return ["status" => "failed", "message" => $e->getMessage()];

```

}

this is code for join session

var signature=this.zoom\_token;  
var identity=this.userName;  
this.client = ZoomVideo.createClient();

const videoSDKLibDir = ‘/node\_modules/@zoom1234/videosdk/dist/lib’;  
this.client.init(‘en-US’, `CDN`);  
await this.client.join(  
this.session\_name,  
signature,  
identity,  
).then((data) =\> {

this.participants = this.client.getAllUser();

}).catch((error) =\> {  
console.log(error);  
});

Thanks

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [August 8, 2023, 5:48am UTC](https://devforum.zoom.us/t/jwt-deprecated-to-server-server-oauth-problem/93024/4 "2023-08-08T05:48:08Z")

</div>

Hi @rinki,

From the code which you have shared, it seems you are using **Video SDK.**  
**Video SDK** is not affected by **JWT App Type** deprecation.  
**Video SDK** uses **JWT Token** to authenticate, but this is not referring to **JWT App Type**.

**JWT Token** and **JWT App Type** are 2 different things.

You do not need to create **S2S OAuth App Type** , as this **JWT App Type** deprecation does not affect your **Video SDK** solution.

**Meeting SDK** on the other hand is affected by **JWT App Type** deprecation.  
**Meeting SDK** is a different product from **Video SDK**

Question: What if my web application is still not working?

On 5th August there is an enforcement of minimum version. This affects both **Video SDK** and **Meeting SDK**. If you are using a **Video SDK** Web version which is older than 1.4.1, your web application will stop working. You will need to update your web application to a newer version of **Video SDK**.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/e/8/e86274f31fba42ee367f3fb06eb299bdba55f9b9.png)

Let me know if you have more questions, I’ll be happy to guide you

---

<div class="post-metadata">

**Author:** ![rinki](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rinki/32/48806_2.png) [@rinki](https://devforum.zoom.us/u/rinki)\
**Post date:** [August 8, 2023, 10:38am UTC](https://devforum.zoom.us/t/jwt-deprecated-to-server-server-oauth-problem/93024/5 "2023-08-08T10:38:35Z")

</div>

Oh waw, it’s working! I update SDK versions .  
Thanks.
