# Cannot join a meeting through OAuth, but works with JWT

**URL:** <https://devforum.zoom.us/t/cannot-join-a-meeting-through-oauth-but-works-with-jwt/18794>\
**Category:** Web\
**Created:** [May 22, 2020, 9:58pm UTC](https://devforum.zoom.us/t/cannot-join-a-meeting-through-oauth-but-works-with-jwt/18794 "2020-05-22T21:58:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![shiyueheng](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/shiyueheng/32/1262_2.png) [@shiyueheng](https://devforum.zoom.us/u/shiyueheng)\
**Post date:** [May 22, 2020, 9:58pm UTC](https://devforum.zoom.us/t/cannot-join-a-meeting-through-oauth-but-works-with-jwt/18794/1 "2020-05-22T21:58:16Z")

</div>

**Description**  
I’m integrating zoom SDK through CDN and using OAuth for authentication.  
Get access token, create a meeting, get meetings, get user info, these are all working well. But when I try to join a meeting, it shows me “Your connection has timed out and you cannot join the meeting. Verify your network connectivity and try again.”  
I’m sure when I join a meeting, I generated a signature using the OAuth app key and secret.  
I have also tried joining a meeting through JWT and it worked, but it doesn’t work with OAuth.  
I have tested both PMI and random meetings.  
**Error**  
Your connection has timed out and you cannot join the meeting. Verify your network connectivity and try again.  
{method: “join”, status: false, result: null, errorMessage: undefined, errorCode: 1}

**Which version?**  
1.7.7

**Screenshots**  
If applicable, add screenshots to help explain your problem.

**Smartphone (please complete the following information):**

- Device: Mac
- OS: Mac OS
- Version: 10.15.4
- Browser: Chrome

**Additional context**  
The CDN link I’m using is "ZoomMtg.setZoomJSLib(‘[https://dmogdx0jrul3u.cloudfront.net/1.7.7/lib](https://dmogdx0jrul3u.cloudfront.net/1.7.7/lib)’, ‘/av’); "

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [May 29, 2020, 10:34pm UTC](https://devforum.zoom.us/t/cannot-join-a-meeting-through-oauth-but-works-with-jwt/18794/3 "2020-05-29T22:34:49Z")

</div>

Hey @shiyueheng,

The [Web SDK](https://marketplace.zoom.us/docs/sdk/native-sdks/web) requires and only works with [JWT Apps](https://marketplace.zoom.us/docs/guides/build/jwt-app).

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![shiyueheng](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/shiyueheng/32/1262_2.png) [@shiyueheng](https://devforum.zoom.us/u/shiyueheng)\
**Post date:** [May 30, 2020, 12:48am UTC](https://devforum.zoom.us/t/cannot-join-a-meeting-through-oauth-but-works-with-jwt/18794/4 "2020-05-30T00:48:07Z")

</div>

Thank you for your reply!  
Is OAuth app working with Web SDK on the roadmap?  
By the way, during OAuth workflow, it takes twice authentication to redirect to the ‘redirect url’.

 ![Screen Shot 2020-05-29 at 8.41.32 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/e/ed4bdb787e4103f195a56522cad7f351d245a7b1.png)  
 ![Screen Shot 2020-05-29 at 8.41.44 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/d/dc86281f5cb82f060cd7a7440ddd2d541f55c1cc.png)  
After signing in the first page and then it redirects to the second page, then the page will be redirected to the ‘redirect url’.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [June 3, 2020, 7:29pm UTC](https://devforum.zoom.us/t/cannot-join-a-meeting-through-oauth-but-works-with-jwt/18794/5 "2020-06-03T19:29:11Z")

</div>

Hey @shiyueheng,

Web SDK with OAuth is not on the roadmap. You can however use the [Web SDK authentication](https://marketplace.zoom.us/docs/sdk/native-sdks/web/advanced/join-authenticated-web-sdk-meetings) if you want your users to login before joining the meeting.

For your OAuth issue, please create a new topic in #zoom-api

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![shiyueheng](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/shiyueheng/32/1262_2.png) [@shiyueheng](https://devforum.zoom.us/u/shiyueheng)\
**Post date:** [June 5, 2020, 3:09pm UTC](https://devforum.zoom.us/t/cannot-join-a-meeting-through-oauth-but-works-with-jwt/18794/6 "2020-06-05T15:09:43Z")

</div>

Alright, thanks for the reply!

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [June 10, 2020, 7:31pm UTC](https://devforum.zoom.us/t/cannot-join-a-meeting-through-oauth-but-works-with-jwt/18794/7 "2020-06-10T19:31:12Z")

</div>

Happy to help! 🙂

Thanks,  
Tommy
