Lasterrortype_auth ( error code : 10124)

Description
I generated a token with SDK Key and SDK Secret on jtw.io. But I get the error in the photos. I put the photo of the ita, exp, tokenexp values I used. I have read other posts on the forum but there is no solution. I’m waiting for your help

Which version?
v5.0.24433.0616
sdk_demo_v2_2017

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

  1. Go to ‘…’
  2. Click on ‘…’
  3. Scroll down to ‘…’
  4. See error

Screenshots
If applicable, add screenshots to help explain your problem.


Resim1

Additional context
Add any other context about the problem here.

Please try ‘appKey’ in camel case. Currently you have a capital A.

Thanks,
Alex

same problem, solution does not resolve issue

1 Like

@alexmayo this is not a solution

Hi everyone,

Thanks for the post. You may follow the instruction here https://github.com/zoom/zoom-sdk-windows/blob/master/CHANGELOG.md#new-sdk-initialization-method-using-jwt-token to generate the JWT token. Here is a python script that could be helpful to generate the token:

    iat = long(int(time.time()))
    exp = long((datetime.datetime.today() + datetime.timedelta(days=2)).strftime("%s"))
    tokenExp = long((datetime.datetime.today() + datetime.timedelta(hours=1)).strftime("%s"))

    payload = {
        'appKey': key,
        'iat': iat,
        'exp': exp,
        'tokenExp': tokenExp
    }
    encoded = jwt.encode(payload, secret, algorithm='HS256')

Thanks!