# Meeting SDK Integration in web with OAuth 2.0 and SDK app type

**URL:** <https://devforum.zoom.us/t/meeting-sdk-integration-in-web-with-oauth-2-0-and-sdk-app-type/66687>\
**Category:** Meetings\
**Tags:** web-meeting-sdk\
**Created:** [March 30, 2022, 11:13am UTC](https://devforum.zoom.us/t/meeting-sdk-integration-in-web-with-oauth-2-0-and-sdk-app-type/66687 "2022-03-30T11:13:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanjay.shahi243](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sanjay.shahi243/32/34183_2.png) [@sanjay.shahi243](https://devforum.zoom.us/u/sanjay.shahi243)\
**Post date:** [March 30, 2022, 11:13am UTC](https://devforum.zoom.us/t/meeting-sdk-integration-in-web-with-oauth-2-0-and-sdk-app-type/66687/1 "2022-03-30T11:13:18Z")

</div>

Hello,  
We are currently working on Learning Management System and have this feature in which we need to be able to create meetings from the instructor account using Zoom and students need to be able to join this meeting.

For this purpose, we have created a OAuth (account level) app in the zoom-market place. Using this, we are able to authorize our app from the admin account once.  
We are successfully able to create Zoom meetings using APIs.

Problem Description:  
The issue now is that after the creation of the meeting, we send the meeting link to instructor and students but the link will open in zoom client app.  
We need this meeting in our web app.

For this, we have created another SDK app that will use OAuth for Authorization.  
SDK app basically requires individual users to authorize.

Problem 1: Is there any way around so that students do not need to authorize but can access the SDK to attend the meeting?

Problem 2: We are using Python/Django as our backend, and to generate the signature in the backend , we are using this code snippet:

‘’’  
def generateSignature(data):  
import time  
from jose import jws

```
ts = int(round(time.time() * 1000)) - 30000
oPayLoad = {
    'sdkKey': ZOOM_SDK_KEY,
    'mn': data['meetingNumber'],
    'role': data['role'],
    'iat': ts,
    'appKey': ZOOM_SDK_KEY,
}
signature = jws.sign({'payload': oPayLoad}, ZOOM_SDK_SECRET, algorithm='HS256')
return signature

```

def getSignature(request):  
data = {  
‘meetingNumber’: request.GET.get(‘meetingNumber’),  
‘role’: request.GET.get(‘role’)  
}  
signature = generateSignature(data)  
return JsonResponse({‘result’: signature}, status=200)  
‘’’

As per the docs, it has provided example using only Node.js for SDK App Type.

[Generate Signature (zoom.us)](https://marketplace.zoom.us/docs/sdk/native-sdks/web/signature#sdk-app-type)

Currently, my code generates this error.  
Joining meeting timeout. Fail to join the meeting.

Note:  
Generating Signature and Joining Zoom Meeting is working well when using zoom CDN example i.e.  
‘’’  
var signature = ZoomMtg.generateSDKSignature({  
meetingNumber: meetingConfig.mn,  
sdkKey: SDK\_KEY,  
sdkSecret: SDK\_SECRET,  
role: meetingConfig.role,  
success: function (res) {  
console.log(res.result);  
meetingConfig.signature = res.result;  
meetingConfig.sdkKey = SDK\_KEY;  
var joinUrl = “/zoom/meeting?” + testTool.serialize(meetingConfig);  
console.log(joinUrl);  
window.open(joinUrl, “\_blank”);  
},  
});  
‘’’  
Kindly suggest.  
Thank you.

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [May 13, 2022, 10:28pm UTC](https://devforum.zoom.us/t/meeting-sdk-integration-in-web-with-oauth-2-0-and-sdk-app-type/66687/2 "2022-05-13T22:28:35Z")

</div>

> [@sanjay.shahi243](#):
>
> The issue now is that after the creation of the meeting, we send the meeting link to the instructor and students but the link will open in zoom client app.  
> We need this meeting in our web app.
> 
> Problem 1: Is there any way around so that students do not need to authorize but can access the SDK to attend the meeting?

Can you share how meetings are configured? Are “only Authenticated Users” can join feature enabled?

Have you considered the following workflow:

1. Registering the students with Add a webinar registrant API:

## [Add a webinar registrant](https://marketplace.zoom.us/docs/api-reference/zoom-api/methods#operation/webinarRegistrantCreate)

1. Then send them a unique registration join link to each student. From here, can you design your own follow for how students can access the SDK to attend the meeting,

```auto
{
  "id": "iFxeBPYun6SAiWUzBcEkX",
  "join_url": "https://example.com/j/22222", <-- **The URL the registrant can use to join the webinar.**
  "registrant_id": "fdgsfh2ey82fuh",
  "start_time": "2021-07-13T21:44:51Z",
  "topic": "My Webinar",
  "occurrences": [
    {
      "duration": 60,
      "occurrence_id": "1648194360000",
      "start_time": "2022-03-25T07:46:00Z",
      "status": "available"
    }
  ]
}

```

> [@sanjay.shahi243](#):
>
> Problem 2: We are using Python/Django as our backend, and to generate the signature in the backend , we are using this code snippet:

To confirm, are you saying the getSignature function only works when using the CDN?
