Hey @clippermadness, thanks for reaching out, this is an interesting use case!
I will ask our security / app approval team.
Although, I would suggest using the following flow to accomplish this:
Create 1 Chatbot App and on the “Information” page check the “Visit Site to Install” option.
When a user visits your Chatbot App on the Zoom App Marketplace, and clicks “Visit Site to Install”, they will be taken to a page you make that has a dropdown of your regions: US, UK, EU.
Once they choose a region, then install the Chatbot app by navigating the user to your “Publishable URL” (found on the “Submit” page) which starts the Zoom OAuth flow.
On successful OAuth, save the region the user selected, the access_token
, refresh_token
, accountID, and or userID (found by JWT parsing the access_token
) in your database.
When a user calls your Chatbot via the Bot Endpoint Url, use their accountID/userID to lookup their region in your database and then based on the region, make calls to the respective data center.
OR,
You create 1 Chatbot App, check the “Install” from marketplace option on the “Information” page, and after successful install the user will land on your redirect url where you display the dropdown of regions for the user to select. Again, saving the region the user selected, the access_token
, refresh_token
, accountID, and or userID (found by JWT parsing the access_token
) in your database.
When a user calls your Chatbot via the Bot Endpoint Url, use their accountID/userID to lookup their region in your database and then based on the region, make calls to the respective data center.
A good example of this is the Zoom Youtube App. You OAuth with Zoom, then the redirect url takes you to OAuth with Youtube to connect your Youtube account. In your case, instead of connecting your Youtube account, you would redirect to a page that displays the dropdown of regions, saving the region the user selects.
Let me know if this helps!
Thanks,
Tommy