GOGETMUSCLE Community HubSpot Public App Uninstall flow and OAuth Best Practices

HubSpot Public App Uninstall flow and OAuth Best Practices

Hi, I have built a calling integration app. Everything is working fine, but I am stuck with the uninstall flow. When a user uninstalls the app from HubSpot (Settings → Integrations → Connected Apps → Uninstall), how can I remove the related database entries from my MongoDB? In my database, I store the installed app data such as portal ID, user ID, access token, and refresh token. How does the uninstall flow work? Please suggest the correct approach and best practices. Also, please suggest best practices for storing OAuth access tokens and refresh tokens, handling token refresh, and app verification/validation.

Leave a Reply

Your email address will not be published.

Related Post