My client is moving from LogMeIn (formerly Citrix) GoToWebinar to Zoom to run their online webinars. They sell access to these webinars on their website. The only thing they use it for is registering customers in webinars, thus just one api call is used. The same is applicable for Zoom, so it’s pretty simple.
I have created a JWT app and have successfully implemented the api call into their Dev website which is a ColdFusion site. I have been testing with the manually generated token within the JWT app, setting it for one week. No problems whatsoever.
Now I want to move it to production but automatically generate the token and am not clear on (a) how to do that or (b) how long the token should last. With the old LogMeIn app, the token expired after 1 hour so it was necessary to run a procedure (using curl) to refresh the token hourly and store it in our SQL db. I am now trying to figure out what or how this works with Zoom. The documentation I read indicates it should only last about 90 seconds which to me means I would have to create a new token before every registrant api process from the website which seems rather onerous. I’d prefer to create a new token for either daily or weekly use.
Also, the JWT.io library has nothing on Curl so not sure I can do it the same way it’s being done now with LogMeIn. Is anyone using Curl to create a JWT token or can direct to where I can find information on this?
I am also not clear as to whether the process is to “create” a new token each time, or is it “refreshing” the previous token; i.e. are the tokens dependent on each other?
Any direction or clarification would be most appreciated.