All Projects → zoom → meetingsdk-sample-signature-node.js

zoom / meetingsdk-sample-signature-node.js

Licence: other
Generate a signature to Start and Join Meetings and Webinars with the Zoom Meeting SDKs.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to meetingsdk-sample-signature-node.js

conference-app
🎪 A Sample Conference App built with React Native
Stars: ✭ 18 (-72.73%)
Mutual labels:  sample-app
cloud-cf-espm
A reference application showcasing an end-to-end development scenario in Java on SAP BTP, Cloud Foundry environment.
Stars: ✭ 14 (-78.79%)
Mutual labels:  sample-app
Peasy.NET-Samples
Showcases a middle tier built with peasy and consumed by multiple client consumers
Stars: ✭ 33 (-50%)
Mutual labels:  sample-app
candybar-sample
Sample implementation of CandyBar https://github.com/danimahardhika/candybar-library/
Stars: ✭ 61 (-7.58%)
Mutual labels:  sample-app
play-scala-seed.g8
Play Scala Seed Template: run "sbt new playframework/play-scala-seed.g8"
Stars: ✭ 66 (+0%)
Mutual labels:  sample-app
WifiBarcodeSample
Sample code for my article in DotNetCurry magazine on scanning barcodes. In this sample you can generate and scan QR codes that contain a Wi-Fi connection string
Stars: ✭ 13 (-80.3%)
Mutual labels:  sample-app
play-scala-log4j2-example
An example Play project using Log4J 2 as the logging engine
Stars: ✭ 14 (-78.79%)
Mutual labels:  sample-app
gofun-android
Motivates you to go home 🏡 and live your life
Stars: ✭ 22 (-66.67%)
Mutual labels:  sample-app
play-java-rest-api-example
REST API using Play in Java
Stars: ✭ 44 (-33.33%)
Mutual labels:  sample-app
wxWidgetsTemplate
A template project for wxWidgets C++, with pre-set files and IDE projects, and allows for easy updates to wxWidgets
Stars: ✭ 13 (-80.3%)
Mutual labels:  sample-app
sozlukus.com
sozlukus.com source code
Stars: ✭ 11 (-83.33%)
Mutual labels:  sample-app
meetingsdk-sample-angular
Use the Zoom Meeting SDK in an Angular App
Stars: ✭ 42 (-36.36%)
Mutual labels:  sample-app
ProblemDetailsDemo
Example ASP.Net Core Web API that conforms to the Problem Details spec
Stars: ✭ 27 (-59.09%)
Mutual labels:  sample-app
blog
An example Phoenix 1.3 application
Stars: ✭ 14 (-78.79%)
Mutual labels:  sample-app
SampleResearchKit
A sample app for Apple's ResearchKit
Stars: ✭ 14 (-78.79%)
Mutual labels:  sample-app
SimpleDroidRx
An application that helps you learn and better understand ReactiveX
Stars: ✭ 61 (-7.58%)
Mutual labels:  sample-app
peasy-js-samples
Showcases business logic built with peasy-js and consumed by multiple clients
Stars: ✭ 19 (-71.21%)
Mutual labels:  sample-app
play-scala-chatroom-example
Play chatroom with Scala API
Stars: ✭ 43 (-34.85%)
Mutual labels:  sample-app
react-sample-projects
The goal of this project is to provide a set of simple samples, providing and step by step guide to start working with React.
Stars: ✭ 30 (-54.55%)
Mutual labels:  sample-app
play-scala-streaming-example
Example Play application showing Comet and Server Sent Events in Scala
Stars: ✭ 42 (-36.36%)
Mutual labels:  sample-app

Zoom Meeting SDK Sample Signature Node.js

Use of this sample app is subject to our Terms of Use.


NOTE: This Sample App has been updated to use SDK App type credentials instead of JWT App type credentials.


This is a Node.js / Express server that generates a Web or Native Meeting SDK signature via an http request from your frontend for use in the Web or Native Meeting SDKs.

If you would like to skip these steps and just deploy the finished code to Heroku, click the Deploy to Heroku button. (You will still need to configure a few simple things, so skip to Deployment.)

Deploy

Installation

In terminal, run the following command to clone the repo:

$ git clone https://github.com/zoom/meetingsdk-sample-signature-node.js.git

Setup

  1. In terminal, cd into the cloned repo:

    $ cd meetingsdk-sample-signature-node.js

  2. Then install the dependencies:

    $ npm install

  3. Create an environment file to store your SDK Key and Secret:

    $ touch .env

  4. Add the following code to the .env file, and insert your Zoom SDK App's Key and Secret found on the App Credentials page in the Zoom App Marketplace:

    ZOOM_SDK_KEY=SDK_KEY_HERE
    ZOOM_SDK_SECRET=SDK_SECRET_HERE
    
  5. Save and close .env.

  6. Start the server:

    $ npm run start

Usage

Make a POST request to http://localhost:4000 (or your deployed url) with the following request body:

Key Value Description
meetingNumber Required, the Zoom Meeting or Webinar Number.
role Required, 0 to specify participant, 1 to specify host.

Example Request

POST http://localhost:4000

Request Body:

{
  "meetingNumber": "123456789",
  "role": 0
}

If successful, the response body will be a JSON representation of your signature:

{
  "signature": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzZGtLZXkiOiJhYmMxMjMiLCJtbiI6IjEyMzQ1Njc4OSIsInJvbGUiOjAsImlhdCI6MTY0NjkzNzU1MywiZXhwIjoxNjQ2OTQ0NzUzLCJhcHBLZXkiOiJhYmMxMjMiLCJ0b2tlbkV4cCI6MTY0Njk0NDc1M30.UcWxbWY-y22wFarBBc9i3lGQuZAsuUpl8GRR8wUah2M"
}

In the Web or Native Meeting SDK, pass in the signature to the join() function:

// 1. Make http request to your server to get the signature

// 2. Pass in the signature to the join function

// Web Meeting SDK Client View example
ZoomMtg.join({
  signature: signature,
  sdkKey: sdkKey,
  userName: userName,
  meetingNumber: meetingNumber,
  passWord: password
})

// Web Meeting SDK Component View example
client.join({
  signature: signature,
  sdkKey: sdkKey,
  userName: userName,
  meetingNumber: meetingNumber,
  password: password
})

Deployment

If you used the Deploy to Heroku button, enter a name for your app on the page the button took you to (or leave it blank to have a name generated for you), and fill in the values for these,

  • ZOOM_SDK_KEY (Your Zoom SDK App Key, found on your Zoom SDK App Credentials page)
  • ZOOM_SDK_SECRET (Your Zoom SDK App Secret, found on your Zoom SDK App Credentials page)

Then click "Deploy App".

Now you can generate and use your signature via the deployed url Heroku provides.

If you cloned this repo, use the Heroku CLI to deploy your server.

  1. In terminal, create a Heroku app:

    $ heroku create

  2. Add your files:

    $ git add -A

  3. Commit your files:

    $ git commit -m "deploying to heroku"

  4. Deploy your server by pushing your files to Heroku:

    $ git push origin heroku

  5. Navigate to your app on the Heroku dashboard, click settings, and add your SDK App Credentials in the Config Variables,

    • ZOOM_SDK_KEY (Your Zoom SDK App Key, found on your Zoom SDK App Credentials page)
    • ZOOM_SDK_SECRET (Your Zoom SDK App Secret, found on your Zoom SDK App Credentials page)

Now you can generate and use your signature via the deployed url Heroku provides.

Need help?

If you're looking for help, try Developer Support or our Developer Forum. Priority support is also available with Premier Developer Support plans.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].