Hello,
We are using web and android sdk for hosing webinars in our application. Currently, we are making api calls to zoom using the endpoint for token generation. The issue we are facing is whenever a new access token is generated, the old one gets invalidated, due to which we are facing unauthorized access quite frequently. Therefore, I request you to provide us multiple access tokens and guide me on how to acquire the same.
Please look into this on priority as this is affecting our business.
Hi @gaurav.gupta1
Thanks for reaching out to the Zoom Developer Forum, I am happy to help here!
Could you please confirm what app type are you using to generate the tokens so I can understand your issue better?
Best,
Elisa
Hi elisa,
I am using server to server app with event notifications enabled.
Hi @gaurav.gupta1
Thanks for confirming that with me.
I just want to confirm that the issue that you are seeing is expected. When generating a token with the Server-to-Server Oauth app, this will be valid for 1 hour, but if you generate a new one, the previous one will be invalidated and this is the expected behavior.
Okay, but can I be provided multiple access tokens to manage this?
Hi @gaurav.gupta1
We do have a workaround for this and it is to increase the token_index tolerance for your application.
So you can generate tokens at different indexes.
For example, you request a token_index 1 and then another one at token_index 2, so the token generated at token_index 2 won’t invalidate the token_ index 1.
If you would like to get this token_index increase in your Server to Server OAuth app, feel free to reach out to our support team with a link to this thread and they will help you from there:
https://support.zoom.us/hc/en-us/requests/new
Best,
Elisa