I am getting this error and AuthDelegate not called.
Optional(__C.ZoomSDKError(rawValue: 3))
It is integrated but works only with Auth key and secret key, it’s not working with jwt token.
Hi @anupsoni,
You may follow the instruction here to generate the JWT token for SDK authentication: https://github.com/zoom/zoom-sdk-macos#initializing-sdk-with-jwt-token.
And here is a Python script that could be helpful for generating the JWT 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!
Hello Rajat, I faced same issue, app crashing without calling auth delegate.
Have you been able to resolve this issue?