AuthWithJwtToken return ret 5

Description
hey guys, I’m working on Mac M1 has show some problems with electron’sdk

So I find the electron new version has some fix about this,
I’m testing on this sdk demo

I generate JWT as this

{
  "alg": "HS256",
  "typ": "JWT"
 }
 {
  "appKey": "xxxx", //my sdk appkey
  "iat": 1621499734,
  "exp": 1620981496,
  "tokenExp": 158692816
 }
 HMACSHA256(
   base64UrlEncode(header) + "." +
   base64UrlEncode(payload),
  my Secret
 )

but I console.log(ret) it returns 5

Which Electron Client SDK version?
v5.5.12511.0422

Base SDK versions:
win32 native sdk version:zoom-sdk.5.5.12511.0422_x86
mac native sdk version:All_mac_sdk_5.5.12511.0420_universal

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

  1. download sdk.zip
  2. npm i
  3. sh run_demo_mac.sh
  4. input generate jwt

Device (please complete the following information):

  • Device: MPB
  • OS: macOS Big Sur 11.3.1

sorry about my mistake
I miss tokenExp
so I modify this to 1620981496
so return ret is 0
but as some seconds showwaitwindows it also show input jwt

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.