I’m testing things out using cURL with the Zoom API.
When I use JWTs generated on the Zoom App Credentials page, the cURL commands work just fine, e.g. a cURL PATCH command for updating the alternative hosts for a meeting:
When I paste the JWT token created in the Zoom App Credentials page into JWT.io’s “Encoded” window, then modify the payload by updating the “exp” value in the “Decoded” window, I get the following error using the updated JWT token string:
{"code":124,"message":"The Token's Signature resulted invalid when verified using the Algorithm: HmacSHA256"}
This is the case whether or not I select the “secret base64 encoded” option.
This is also the case whether or not I include "typ": "JWT" in the header object (per the Zoom specs here).
Hi @dan.woda ,
Thanks for the reply… so am I understanding you correctly that if I first create a token which lasts for a week and then create a token which lasts for a day, the first one is invalidated? This seems contradictory to my experience.
What I am trying to do on the JWT.io page is use the gui to generate a new token with a modifiied “exp” value, not manually modify the encoded JWT.
Best