Electron join meeting with URL error

Pls advise asap. Thanks in advance for your help.

Description
Cannot connect to a meeting via URL

Which version?
electron version: 5.0.13
nodejs: v12.18.2
MAC

To Reproduce(If applicable)
Steps to reproduce the behavior:

  1. Go to start_join_without_login.html
  2. Input a live meeting url (I started a new live meeting from my own account)
  3. See error in screenshot

Screenshots
Screenshot attachedScreen Shot 2020-07-18 at 10.32.44 AM

Hey @vidd.dev,

Have you checked out these related threads?

https://devforum.zoom.us/search?q=handlezoomweburi

Thanks,
Tommy

Hi Tommy,

Yes I did before I sent you guys my message. Btw, if you noticed,
there aren’t really any solutions in those threads…

Hope you can help, pronto!

Hi @vidd.dev,

Thanks for the post. Is this reproducible with our demo app? We have followed the steps you have provided with our Electron SDK demo app and it is working as expected.

Thanks!

Hi @vidd.dev,

Thanks for the reply and for providing the code. Pardon the late response. In order to use the SDK functions, you will need to pass the SDK auth. Here are the steps:

  1. Follow the instruction here to create an SDK app on Marketplace: https://marketplace.zoom.us/docs/guides/build/sdk-app and get the SDK key/secret
  2. Use the following template to compose your JWT token for SDK initialization(Not the JWT token from the Marketplace App, that token is for the Zoom Rest API):

** Header

{
  "alg": "HS256",
  "typ": "JWT"
}

** Payload

{
	  "appKey": "string", // Your SDK key
         "iat": long, // access token issue timestamp
         "exp": long, // access token expire timestamp
         "tokenExp": long // token expire timestamp, MIN:30 minutes
}

The minimum value of tokenExp should be at least 30 minutes, and exp should be later than tokenExp, otherwise, SDK will reject the authentication request.
** Signature

HMACSHA256(
  base64UrlEncode(header) + "." +
  base64UrlEncode(payload),
  "Your SDK secret here"
)

Once you have the JWT token, you should be able to pass the SDK initialization and authentication. Then you should be able to try the meeting related functions in the demo app.

Please have a try. Hope this helps. Thanks!