How to embed "uninstall" button to uninstall zoom oAuth app in website

Description
I want users to uninstall my oAuth app using a “Uninstall” button on my website. Is it possible?

Error
Even if I try to uninstall the app from my zoom account, the webhook also not seems to be working.

Additional context
On my website I am providing a install button by which user can install the app and authorize their account. In the same way I want to embed a uninstall button, which can be used ti deauthorize their account. How can I achieve this?

Hey @devendra,

Good question, as of now this is not possible. You will have to direct them to uninstall the app at https://marketplace.zoom.us/user/installed.

Thanks,
Tommy

Hey @tommy,

Thanks for the reply, I also tried to uninstall the app using “Uninstall” button under “Local Test” tab. The app uninstalled but I have’t received any webhook on defined endpoint URL i.e “https://dev.joomla6teen.com/Miscellaneous/zoomWebinars/uninstallzoomapp”.

Even I can’t see anything in webhook logs.

Thanks,
Devendra

Hey @devendra,

Ah, to get the deauth webhook, you will need to uninstall the production version of the app.

The deauth webhook is not sent when uninstalling the local test version.

Thanks,
Tommy

Hi @tommy,

I have installed the app using “Publishable URL” that uses production “Client ID” and “Client Secret” and when I uninstalled the app I didn’t got the “Deauthorization Event Notification”.
I need to test this to implement the deautorization process. If I am doing something wrong suggest me, How to test the app deautorization process?

Thanks
Devendra

Hey @devendra,

Can you share your deauth url so I can test? You can also test it by sending a POST request to it.

Thanks,
Tommy

Hi @tommy,
This is the deauth url below.
https://dev.joomla6teen.com/Miscellaneous/zoomWebinars/uninstallzoomapp/index.php”.

I tested by sending POST request to the URL and it works fine, but when I uninstall the zoom app it doesn’t seems to be working.

Thanks
Devendra

Hey @devendra,

After checking your deauth url configuration, it looks like you have an extra slash that could be causing this issue:

https://dev.joomla6teen.com//Miscellaneous/zoomWebinars/uninstallzoomapp/index.php

Thanks,
Tommy