We have implemented an API within our backend that generates a jwt token according to the specifications indicated in the documentation. When we pass the token to the VideoSDK web ui-toolkit, in some cases we get the error:
zoomsdkjsonpcallback1({ "status": false, "errorCode": 124, "errorMessage": "Verify JWT Failed: The token was expected to have 3 parts, but got 1." })
We have already verified that the token contains all the necessary fields in the payload.
Sometimes a token that fails on some subsequent attempt works fine.
Any suggestions?
Problem solved!
It's a problem related to signature final encoding, so by using:
instead of
My bad.
authentication works