# Jwt authentication starts return 401 at 2023-06-09 13:00 UTC+9

**URL:** <https://devforum.zoom.us/t/jwt-authentication-starts-return-401-at-2023-06-09-13-00-utc-9/89884>\
**Category:** Authentication\
**Tags:** api, jwt\
**Created:** [June 9, 2023, 6:12am UTC](https://devforum.zoom.us/t/jwt-authentication-starts-return-401-at-2023-06-09-13-00-utc-9/89884 "2023-06-09T06:12:06Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![imaxsoft2](https://avatars.discourse-cdn.com/v4/letter/i/6a8cbe/32.png) [@imaxsoft2](https://devforum.zoom.us/u/imaxsoft2)\
**Post date:** [June 9, 2023, 6:12am UTC](https://devforum.zoom.us/t/jwt-authentication-starts-return-401-at-2023-06-09-13-00-utc-9/89884/1 "2023-06-09T06:12:06Z")

</div>

We have using JWT server-to-server authentication

and several days ago heard JWT has deprecated at June 1, and extended end-of-life date to September 1.

> from [Migrating the Zoom app in Azure to OAuth – Zoom Support](https://support.zoom.us/hc/en-us/articles/15053773250573)

but today JWT authentication starts return 401 suddenly at 2023-06-09 13:00 UTC+9

We not updated any programs, account settings, APIs.  
but some accounts are meet this trouble, some are normal.

401 case response =\>  
[https://api.zoom.us/v2/users/[!!!EMAIL!!!]](https://api.zoom.us/v2/users/%5B!!!EMAIL!!!%5D) \>\>\> [401]Unauthorized  
[2023-06-09 14:21:07,432] [ERROR] response \>\>\> {“code”:124,“message”:“Invalid access token.”}

> details  
> ==================================  
> [2023-06-09 14:21:07,430] [ERROR] null : [HTTP/1.1 401 Unauthorized]  
> [2023-06-09 14:21:07,430] [ERROR] expires : [Thu, 01 Jan 1970 00:00:00 GMT]  
> [2023-06-09 14:21:07,430] [ERROR] CF-RAY : [7d46ede29f5e0aa6-KIX]  
> [2023-06-09 14:21:07,430] [ERROR] Server : [cloudflare]  
> [2023-06-09 14:21:07,430] [ERROR] Connection : [keep-alive]  
> [2023-06-09 14:21:07,430] [ERROR] pragma : [no-cache]  
> [2023-06-09 14:21:07,431] [ERROR] Date : [Fri, 09 Jun 2023 05:21:07 GMT]  
> [2023-06-09 14:21:07,431] [ERROR] set-cookie : [zm\_aid=“”; Domain=.zoom,us; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; Secure; HttpOnly]  
> [2023-06-09 14:21:07,431] [ERROR] CF-Cache-Status : [DYNAMIC]  
> [2023-06-09 14:21:07,431] [ERROR] NEL : [{“success\_fraction”:0.01,“report\_to”:“cf-nel”,“max\_age”:604800}]  
> [2023-06-09 14:21:07,431] [ERROR] content-disposition : [inline;filename=f.txt]  
> [2023-06-09 14:21:07,431] [ERROR] Cache-Control : [no-cache, no-store, must-revalidate, no-transform]  
> [2023-06-09 14:21:07,431] [ERROR] x-content-type-options : [nosniff]  
> [2023-06-09 14:21:07,432] [ERROR] Report-To : [{“endpoints”:[{“url”:“https://a.nel.cloudflare.com/report/v3?s=kUP6eIFumxmOgaU7wLxLOMPtvbGzHU9o%2F4AlLLMjrsU5M5MWBEChYYLEYyRsa2ntXxS4LeTe3s4LX%2F4xgROWIZrhfy%2BpH2%2BZhId5uUOwArviNfF8KutDd8QWQcu3”}],“group”:“cf-nel”,“max\_age”:604800}]  
> [2023-06-09 14:21:07,432] [ERROR] Set-Cookie : [\_\_cf\_bm=etQof5LPpx8a5neJxc9hveVC6I6qdDbEBBTIyAXqdUg-1686288067-0-AQBbsrLzcV+L3eaA4evaK1By3x4y7XUYHgrygUHkPRxcFMiIyqhPK2hG4nHvV9bC7f3cPtZFTAxgVyZIiOBxcqg=; path=/; expires=Fri, 09-Jun-23 05:51:07 GMT; domain=.zoom,us; HttpOnly; Secure; SameSite=None, \_zm\_mtk\_guid=46e36d98e4ad4364afa79f967ed813e7; Domain=.zoom,us; Expires=Sun, 08-Jun-2025 05:21:07 GMT; Path=/; Secure, \_zm\_chtaid=840; Domain=.zoom,us; Expires=Fri, 09-Jun-2023 07:21:07 GMT; Path=/; Secure; HttpOnly, \_zm\_ctaid=KZcborBqTfeoRvYiuVheug.1686288067106.38d28646cd4a14dd8fe82622630b4531; Domain=.zoom,us; Expires=Fri, 09-Jun-2023 07:21:07 GMT; Path=/; Secure; HttpOnly, cred=C6A0890F6B696A9DB20AAE2164A31743; Path=/; Secure; HttpOnly, zm\_htmaid=“”; Domain=.zoom,us; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; Secure; HttpOnly, zm\_tmaid=“”; Domain=.zoom,us; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; Secure; HttpOnly, zm\_haid=“”; Domain=.zoom,us; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; Secure; HttpOnly]  
> [2023-06-09 14:21:07,432] [ERROR] alt-svc : [h3=“:443”; ma=86400]  
> [2023-06-09 14:21:07,432] [ERROR] x-zm-trackingid : [v=2.0;clid=aw1;rid=WEB\_b09315d925114f208da7d3fdc9634ece]  
> [2023-06-09 14:21:07,432] [ERROR] Content-Length : [46]  
> [2023-06-09 14:21:07,432] [ERROR] x-zm-zoneid : [VA]  
> [2023-06-09 14:21:07,432] [ERROR] Content-Type : [application/json;charset=UTF-8]  
> [2023-06-09 14:21:07,432] [ERROR] ---------------------------------------  
> [2023-06-09 14:21:07,432] [ERROR] response \>\>\> {“code”:124,“message”:“Invalid access token.”}

==================================

---

<div class="post-metadata">

**Author:** ![jharris1](https://avatars.discourse-cdn.com/v4/letter/j/e19adc/32.png) [@jharris1](https://devforum.zoom.us/u/jharris1)\
**Post date:** [June 9, 2023, 1:26pm UTC](https://devforum.zoom.us/t/jwt-authentication-starts-return-401-at-2023-06-09-13-00-utc-9/89884/2 "2023-06-09T13:26:44Z")

</div>

Another Zoom integrator here. We see the same thing - currently a JWT integrator with plans to move to OAuth within the timeframe publicly established (as linked above). But sometime after 10:45PM ET we see NO new calls in the call log and our system also responds with an Invalid Access Token.

HELP?!

---

<div class="post-metadata">

**Author:** ![aalamour](https://avatars.discourse-cdn.com/v4/letter/a/848f3c/32.png) [@aalamour](https://devforum.zoom.us/u/aalamour)\
**Post date:** [June 9, 2023, 2:07pm UTC](https://devforum.zoom.us/t/jwt-authentication-starts-return-401-at-2023-06-09-13-00-utc-9/89884/3 "2023-06-09T14:07:03Z")

</div>

Yes, we started receiving the the same error since last night at 10:57 EDT  
\*{“code”:124,“message”:“Invalid access token.”}  
Just wondering if there is any downside in Zoom API ?

---

<div class="post-metadata">

**Author:** ![michael.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael.zoom/32/37213_2.png) [@michael.zoom](https://devforum.zoom.us/u/michael.zoom)\
**Post date:** [June 9, 2023, 4:17pm UTC](https://devforum.zoom.us/t/jwt-authentication-starts-return-401-at-2023-06-09-13-00-utc-9/89884/4 "2023-06-09T16:17:32Z")

</div>

@imaxsoft2 , @jharris1, @aalamour we’ll look into this and get back to you here with more information ASAP.

---

<div class="post-metadata">

**Author:** ![aalamour](https://avatars.discourse-cdn.com/v4/letter/a/848f3c/32.png) [@aalamour](https://devforum.zoom.us/u/aalamour)\
**Post date:** [June 9, 2023, 4:30pm UTC](https://devforum.zoom.us/t/jwt-authentication-starts-return-401-at-2023-06-09-13-00-utc-9/89884/5 "2023-06-09T16:30:23Z")

</div>

We found workaround by hardcoding the Zoom token in our code , but this is temporary solution until fix the issue in Zoom API.

---

<div class="post-metadata">

**Author:** ![michael.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael.zoom/32/37213_2.png) [@michael.zoom](https://devforum.zoom.us/u/michael.zoom)\
**Post date:** [June 9, 2023, 4:37pm UTC](https://devforum.zoom.us/t/jwt-authentication-starts-return-401-at-2023-06-09-13-00-utc-9/89884/6 "2023-06-09T16:37:06Z")

</div>

@aalamour , what are the details of that hardcoded token? Previously created tokens are working, but newly generated tokens do not work?

---

<div class="post-metadata">

**Author:** ![aalamour](https://avatars.discourse-cdn.com/v4/letter/a/848f3c/32.png) [@aalamour](https://devforum.zoom.us/u/aalamour)\
**Post date:** [June 9, 2023, 4:53pm UTC](https://devforum.zoom.us/t/jwt-authentication-starts-return-401-at-2023-06-09-13-00-utc-9/89884/7 "2023-06-09T16:53:03Z")

</div>

Hi,

I have got the token from developer account and make it expire after one week and hardcoded it in my code that calls Zoom API. So my call now use the same token eveny time calls Zoom API.

---

<div class="post-metadata">

**Author:** ![michael.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael.zoom/32/37213_2.png) [@michael.zoom](https://devforum.zoom.us/u/michael.zoom)\
**Post date:** [June 9, 2023, 4:56pm UTC](https://devforum.zoom.us/t/jwt-authentication-starts-return-401-at-2023-06-09-13-00-utc-9/89884/8 "2023-06-09T16:56:39Z")

</div>

@aalamour can you share the function you’re using to generate the token that does not work?

---

<div class="post-metadata">

**Author:** ![michael.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael.zoom/32/37213_2.png) [@michael.zoom](https://devforum.zoom.us/u/michael.zoom)\
**Post date:** [June 9, 2023, 4:58pm UTC](https://devforum.zoom.us/t/jwt-authentication-starts-return-401-at-2023-06-09-13-00-utc-9/89884/9 "2023-06-09T16:58:52Z")

</div>

@jharris1 @imaxsoft2 , we are continuing to investigate with our service engineering team. In the interim, from what I see, if you go to your JWT app and retrieve a token and use this manually, API requests will work. This should restore service.

---

<div class="post-metadata">

**Author:** ![jharris1](https://avatars.discourse-cdn.com/v4/letter/j/e19adc/32.png) [@jharris1](https://devforum.zoom.us/u/jharris1)\
**Post date:** [June 9, 2023, 5:35pm UTC](https://devforum.zoom.us/t/jwt-authentication-starts-return-401-at-2023-06-09-13-00-utc-9/89884/10 "2023-06-09T17:35:29Z")

</div>

Adding the key ‘manually’ is not an approach we can use easily with a compiled app that must go thru a QA/test/release cycle - and then have to be switched BACK after you implement your fix?!

---

<div class="post-metadata">

**Author:** ![michael.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael.zoom/32/37213_2.png) [@michael.zoom](https://devforum.zoom.us/u/michael.zoom)\
**Post date:** [June 9, 2023, 5:44pm UTC](https://devforum.zoom.us/t/jwt-authentication-starts-return-401-at-2023-06-09-13-00-utc-9/89884/11 "2023-06-09T17:44:54Z")

</div>

Understood completely, John. We’re still working on root cause, as we’re only seeing these issues on a small subset of accounts. I’ve sent you an email through your support ticket, if you can share additional details there, we’d greatly appreciate it.

---

<div class="post-metadata">

**Author:** ![jharris1](https://avatars.discourse-cdn.com/v4/letter/j/e19adc/32.png) [@jharris1](https://devforum.zoom.us/u/jharris1)\
**Post date:** [June 9, 2023, 6:24pm UTC](https://devforum.zoom.us/t/jwt-authentication-starts-return-401-at-2023-06-09-13-00-utc-9/89884/12 "2023-06-09T18:24:59Z")

</div>

In addition, we note that the typ parameter in the header and the ‘aud’ claim in the payload are different in the tokens that HAD been working from our application versus the ‘manual’ JWT token that your page in now generating.

OLD tokens  
typ=JWT  
aud=[blank]

NEW tokens  
typ is missing  
aud=null

Perhaps Zoom’s token generation and validation changed as a result of some code change?

---

<div class="post-metadata">

**Author:** ![jharris1](https://avatars.discourse-cdn.com/v4/letter/j/e19adc/32.png) [@jharris1](https://devforum.zoom.us/u/jharris1)\
**Post date:** [June 9, 2023, 6:56pm UTC](https://devforum.zoom.us/t/jwt-authentication-starts-return-401-at-2023-06-09-13-00-utc-9/89884/13 "2023-06-09T18:56:40Z")

</div>

After more research, we also notice that we had been sending quotes around the aud, exp, and iat claims, and your new tokens apparently don’t have that, which still might point to new validation logic on the Zoom side.

---

<div class="post-metadata">

**Author:** ![aalamour](https://avatars.discourse-cdn.com/v4/letter/a/848f3c/32.png) [@aalamour](https://devforum.zoom.us/u/aalamour)\
**Post date:** [June 9, 2023, 7:33pm UTC](https://devforum.zoom.us/t/jwt-authentication-starts-return-401-at-2023-06-09-13-00-utc-9/89884/14 "2023-06-09T19:33:06Z")

</div>

@michael.zoom

Yes , we have been using the standard token generation method in our code and it has been working fine until last night. since last night, we are started receiving the invalid token error. We already opened case with Zoom support and waiting the response.

---

<div class="post-metadata">

**Author:** ![aalamour](https://avatars.discourse-cdn.com/v4/letter/a/848f3c/32.png) [@aalamour](https://devforum.zoom.us/u/aalamour)\
**Post date:** [June 9, 2023, 7:37pm UTC](https://devforum.zoom.us/t/jwt-authentication-starts-return-401-at-2023-06-09-13-00-utc-9/89884/15 "2023-06-09T19:37:05Z")

</div>

@michael.zoom

It is the standard function mentioned in Zoom developer documentation that we have been using it since two years till date and it was working all the times. We didn’t make any change on it in our side. Wondering why Zoom API is not accepting it since last night. Was there any update on Zoom API or it is issue in the API ?

Thanks.

---

<div class="post-metadata">

**Author:** ![jharris1](https://avatars.discourse-cdn.com/v4/letter/j/e19adc/32.png) [@jharris1](https://devforum.zoom.us/u/jharris1)\
**Post date:** [June 9, 2023, 7:50pm UTC](https://devforum.zoom.us/t/jwt-authentication-starts-return-401-at-2023-06-09-13-00-utc-9/89884/16 "2023-06-09T19:50:07Z")

</div>

It looks like the issue was resolved based on the feedback we provided above. I look forward to Zoom’s RCA.

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

---

<div class="post-metadata">

**Author:** ![aalamour](https://avatars.discourse-cdn.com/v4/letter/a/848f3c/32.png) [@aalamour](https://devforum.zoom.us/u/aalamour)\
**Post date:** [June 9, 2023, 9:00pm UTC](https://devforum.zoom.us/t/jwt-authentication-starts-return-401-at-2023-06-09-13-00-utc-9/89884/17 "2023-06-09T21:00:25Z")

</div>

@jharris1

Could you please share with me the link for this post ?

---

<div class="post-metadata">

**Author:** ![jharris1](https://avatars.discourse-cdn.com/v4/letter/j/e19adc/32.png) [@jharris1](https://devforum.zoom.us/u/jharris1)\
**Post date:** [June 12, 2023, 2:22pm UTC](https://devforum.zoom.us/t/jwt-authentication-starts-return-401-at-2023-06-09-13-00-utc-9/89884/18 "2023-06-12T14:22:04Z")

</div>

[Zoom Status - A subset of users are unable to access zoom API with JWT tokens](https://status.zoom.us/incidents/f4sq9lq48lyr)
