Edit your credentials


Contents

1. Enter your JWT

2. Edit your display name

1. Enter your JWT

SDK keys and secrets are vital for Zoom to identify who and which application is calling for Zoom SDK services. To authenticate with Zoom, you must generate a JWT using your SDK key and secret.

In the sample app, we have created an interface for you to enter your JWT. Follow the steps below to enter your token. Note that in your production ready app, you should not hard code your JWT.

  1. Open MobileRTCSample/AppDelegate.h
  2. Enter your JWT as the value of the KjwtToken property.
  3. Set the value of kSDKDomain to be “https://zoom.us”.

AppDelegate.h

...
#define KjwtToken   @"yourJWT"
#define kSDKDomain  @"https://zoom.us"
...
Do not use raw IP address as the web domain

Never use raw IP address as the web domain as it may lead your app to vulnerability issues. If you would like to learn why, please see our security practices for more information.

2. Edit your display name

This part is not required, but it can make the example application to be more yours.

Our authentication process allows you to join a meeting without login. When in that scenario, the display name shown in the meeting will be the name that you provide in the application.

  1. Open MobileRTCSample/MainViewController.h
  2. At the very beginning of the file, you can find a constant called “kSDKUserName”. Change the kSDKUserName to any cool names you want. For example, Superman.

MainViewController.h

...
#define kSDKUserID      @""
#define kSDKUserName    @"Enteryourdisplaynamehere"
#define kSDKUserToken   @""
#define kSDKMeetNumber  @""
#define kZAK @""
...

Save the changes, and proceed to the next section.


Next