What do I need to do to get this working? Currently, I'm able to authenticate by clicking on Re-authenticate API, but I'd like to not have to do this every hour.
This is my current setup (plus my Client ID and Client Secret):
Well, I set up a connection to my own zoom account to work on testing this. So far, my understanding is that a single use refresh token is returned when the initial Oauth2 authentication happens. Capturing that refresh token is highly challenging and I’m not certain it is possible in Retool. I’m going to meet with another team member that is a little more familiar and see if they think there’s a way to accomplish this.
Ideally, we should be saving the refresh token on our end and automatically using it to try to reauthenticate the resource when it’s authentication expires. It doesn’t seem to be happening with the Zoom API, and it’s difficult to track down the cause because to test it we need to have the access expire, not get revoked manually.
If you have full admin access on the account, you can authenticate your resource using a JWT token, which you are able to specify the expiration time on. If this works for you, I would definitely recommend going down that route
Fill out the information and click on View JWT Token
Choose "Other" and set a date in the future (this is the unsecure part. Ideally, I should be able to create a new one for every request) and copy the Token
I think that the issue in those cases has to do with automatically provisioning or refreshing those JWT tokens without user input. In this situation the alternative is manually authenticating every 60 minutes vs manually authenticating every X amount of time