Help with JWT Authentication for Zoom Meeting SDK on Linux

,

Hi everyone,

I’m currently working on a project that involves extracting raw data from the Zoom Meeting SDK Linux raw recording sample files available here: Zoom Meeting SDK Linux Raw Recording Sample [https: //github. com/ zoom/meetingsdk-linux-raw-recording-sample]

To authenticate, I need to generate a JWT token. I found a resource for generating JWT tokens here: Zoom Meeting SDK Auth Endpoint Sample [https: //github. com/ zoom/meetingsdk-auth-endpoint-sample]

Here are the steps I followed:

  1. Created a JWT token using the provided sample.
  2. Created a config.txt file with the following fields:
    meeting_number: "1234567890"
    token: "xxxxxxxx.yyyyyyyyyyyyyyyyyy.zzzzzzzzzzzzzzzzz"
    meeting_password: "123456"
    recording_token: ""
    GetVideoRawData: "true"
    GetAudioRawData: "true"
    SendVideoRawData: "false"
    SendAudioRawData: "false"
    
    (In the token field, I inserted the generated JWT token)
  3. Ran the application using Docker.

Despite following these steps, I keep encountering an error that says: “Auth failed: JWT Token is invalid.”

Here is the exact process I used for generating the JWT token and configuring the application:

  1. Generated the JWT token using the [Zoom Meeting SDK Auth Endpoint Sample][https: //github. com/ zoom/meetingsdk-auth-endpoint-sample].
  2. Configured the config.txt file with the JWT token and other required details.
  3. Built and ran the Docker container as per the instructions.

I am suspecting there might be an issue with the way I’m generating the JWT token or configuring it in the config.txt file.

Has anyone else encountered this issue or can provide insights on how to resolve it? Any help or guidance would be greatly appreciated.

Thanks in advance!

@zoom341 do you have a sample of the token?

When you save the generated token on config.txt, did you make sure that the config.txt is also updated in your docker container?