# Windows Meeting SDK - Can’t Authenticate with Auth Param

**URL:** <https://devforum.zoom.us/t/windows-meeting-sdk-can-t-authenticate-with-auth-param/94416>\
**Category:** Windows\
**Created:** [September 4, 2023, 8:28am UTC](https://devforum.zoom.us/t/windows-meeting-sdk-can-t-authenticate-with-auth-param/94416 "2023-09-04T08:28:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![saniltr](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/saniltr/32/12526_2.png) [@saniltr](https://devforum.zoom.us/u/saniltr)\
**Post date:** [September 4, 2023, 8:28am UTC](https://devforum.zoom.us/t/windows-meeting-sdk-can-t-authenticate-with-auth-param/94416/1 "2023-09-04T08:28:49Z")

</div>

_ **Windows SDK C# Wrapper 5.15.11.21082** _  
Updated to the most recent Windows SDK. The following error is now visible. I read articles and discovered that it has been deprecated since 5.14.10

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/a/f/afb8b16e25e146911b49609a2e96e27d5c21408d.png)

JWT token was used, but it failed to authenticate.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/e/6e295b48813b73d413ef2396ba6e4e45c8893cd5.png)  
No call is made to **Add\_CB\_onAuthenticationReturn**.  
Help us fix the problem, please.

Also discovered in several articles that JWT must be used in place of the SDK Key and Secret. However, I noticed a cautionary banner above my Zoom developer account. Take a look at the screenshot below.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/1/2/1298794dbe4ae5aed8d73ca5ddde80e3571571d2.png)

I’m actually a little confused right now about what’s happening. Guide me, please.

---

<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:** [September 4, 2023, 11:03am UTC](https://devforum.zoom.us/t/windows-meeting-sdk-can-t-authenticate-with-auth-param/94416/2 "2023-09-04T11:03:29Z")

</div>

@saniltr

**JWT App Type** is a different thing from JWT Token

We are deprecating the JWT App Type, which was typically used to

- access REST API and
- authenticate earlier version of Web SDK.

For your issue, you will need to sign a JWT Token using **Meeting SDK App Type’s** ClientID + ClientSecret

This JWT Token is used to authenticate your C# SDK. This is necessary as the AuthParam for SDKKey and SDKSecret has been removed.

A guide on how to sign this JWT Token can be found here [Meeting SDK Auth](https://developers.zoom.us/docs/meeting-sdk/auth/)

---

<div class="post-metadata">

**Author:** ![saniltr](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/saniltr/32/12526_2.png) [@saniltr](https://devforum.zoom.us/u/saniltr)\
**Post date:** [September 5, 2023, 7:22am UTC](https://devforum.zoom.us/t/windows-meeting-sdk-can-t-authenticate-with-auth-param/94416/3 "2023-09-05T07:22:39Z")

</div>

Hi I tried, creating jwt\_token using the Meeting SDK App Type’s ClientID + ClientSecret, but still no call is made to **Add\_CB\_onAuthenticationReturn**.  
Tried with both **SDK** and **App** credentials, still not authorizing.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/9/9/999b45feb0b3fea759dae3007dbe74798e14d77e.png)  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/f/a/fa78215022c4b74d68d15e409d36549ea021bdd2.png)

The JWT Token is generated using the following C# code…

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/f/8/f8acc0fbb3733d3d3554f55844c50247cf5fb662.png)  
Is there anything to change here while generating **jwt token**

---

<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:** [September 5, 2023, 8:03am UTC](https://devforum.zoom.us/t/windows-meeting-sdk-can-t-authenticate-with-auth-param/94416/4 "2023-09-05T08:03:55Z")

</div>

@saniltr , could you share a sample JWT token instead?

---

<div class="post-metadata">

**Author:** ![saniltr](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/saniltr/32/12526_2.png) [@saniltr](https://devforum.zoom.us/u/saniltr)\
**Post date:** [September 5, 2023, 8:15am UTC](https://devforum.zoom.us/t/windows-meeting-sdk-can-t-authenticate-with-auth-param/94416/5 "2023-09-05T08:15:17Z")

</div>

Hi @chunsiong.zoom,

Please find the sample JWT token below:  
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHBLZXkiOiJqN0J2MHZSU1dodU9OdjlSUmdUWlg2Z2JCSmZzT2gxSWNZajQiLCJzZGtLZXkiOiJqN0J2MHZSU1dodU9OdjlSUmdUWlg2Z2JCSmZzT2gxSWNZajQiLCJpYXQiOjAsImV4cCI6MzYwMCwidG9rZW5FeHAiOjM2MDB9.zhj4oXyH9m-Gk7A2LdOEY0N3jgh-A440yL-Vzz-ul0I

---

<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:** [September 5, 2023, 8:44am UTC](https://devforum.zoom.us/t/windows-meeting-sdk-can-t-authenticate-with-auth-param/94416/6 "2023-09-05T08:44:51Z")

</div>

> [@saniltr](#):
>
> eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHBLZXkiOiJqN0J2MHZSU1dodU9OdjlSUmdUWlg2Z2JCSmZzT2gxSWNZajQiLCJzZGtLZXkiOiJqN0J2MHZSU1dodU9OdjlSUmdUWlg2Z2JCSmZzT2gxSWNZajQiLCJpYXQiOjAsImV4cCI6MzYwMCwidG9rZW5FeHAiOjM2MDB9.zhj4oXyH9m-Gk7A2LdOEY0N3jgh-A440yL-Vzz-ul0I

@saniltr ,

your iat, exp and tokenExp should be expressed in epoch time. current it is show as relative values  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/d/6/d69d453e8a98a7a58bf49b6cd8860352b7961dd5.png)

Here’s a sample. You can just ignore the role and mn

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/f/4/f4cafba974b71df683d12b49f1adaef63c2491a9.png)

---

<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:** [October 5, 2023, 6:51pm UTC](https://devforum.zoom.us/t/windows-meeting-sdk-can-t-authenticate-with-auth-param/94416/8 "2023-10-05T18:51:17Z")

</div>

Closed on October 5, 2023, 6:51pm UTC

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