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:
curl --request PATCH \
--url 'https://api.zoom.us/v2/meetings/1234567890' \
--header 'authorization: Bearer { auth_token } \
--header 'content-type: application/json' \
--data-raw '{
"settings": {
"alternative_hosts": "name@fake.email;name2@fake.email;name3@fake.email"
}
}'
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).
What am I doing wrong and how do I generate a valid JWT with the “exp” value updated through the JWT.io gui?
Apologies for the newB smell. Thanks for your time and consideration!

