Symmetric Cryptography (AES) with WebCrypto and Node.js Yesterday I posted about Asymmetric Public Key Encryption and Signing (RSA). Today I'm covering Symmetric encryption, also known as Shared-Secret Cryptography because, in practice, Asymmetric Encryption isn't very useful on it's own. May 01, 2018 So let's start with setting up JWT using Node.js. Secret (Private key) 3. Signing options. My chrome dies every time when I try to generate a 2048 bit key.
With this app, you can learn how to generate JWT and use the JWT to authenticate and make a Zoom API call. Follow the steps below to install the app and run it on your computer.
Getting Started
Install
Clone the repo using git clone. git clone https://github.com/zoom/zoom-api-jwt.git
Install the dependent node modules.
The app requires the following modules:
jsonwebtoken : Provides a way to generate JWT with jwt.sign() method.request-promise: Provides a way to Request call objects with .then() method.express: Web application framework for Node.js.
To install these dependencies in your project directory, type npm-install <module-name>
in your terminal.
Quick Start
To generate JWT, you have to provide your API Key and API Secret credentials. You can locate these credentials in your app’s configuration by going to Zoom Marketplace > Manage > > App Credentials. If you haven’t already registered your app in the marketplace, you will have to create an app here to get your credentials. For the purpose of this sample app, you only need your credentials and you do not have to fill out any additional information while registering the app.
In the config.js file, input your client API Key & Secret credentials.
Set your environment varaibles.export NODE_NEV=[environment name] (e.g. export NODE_NEV=production)
Start the node app.Type node index.js
in your terminal from within the project directory.
Enter your email and view the API's response.When you run the app, you will see a form that asks for an email address. Provide your Zoom email address and you will see your JWT and other information related to your account.
The following code snippet generates the JWT using your Client Credentials:
After you submit an email address, it will post the entered information and the email will be used to make a Retrieve User Zoom API call and you will be redirected to localhost:3000/userinfo page that displays the API response - information related to the user. This is achieved through an HTTP POST method. You can make API calls to other ZOOM endpoints by replacing the uri shown in the snippet below with another uri of your choice. You can find more about ZOOM APIs here.
Node Js Generate Secret Key Review
For more Information about Zooms API and JWT
Documentation for JWT is available here. You can learn more about Zoom API here.
Node Generate Secret Key
Support
Node Js Generate Uuid
For any questions or issues, please visit our new Community Support Forum at https://devforum.zoom.us/