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.
HubSpot Public App Uninstall flow and OAuth Best Practices
Related Post
Checking Account Ownership instead of Contact Ownership when scheduling from formsChecking Account Ownership instead of Contact Ownership when scheduling from forms
I want to be able to schedule inbound leads to assigned account owners instead of contact owners, simply because different people from that account may inbound. Are there plans to
Segments taking longer to process?Segments taking longer to process?
Is it just me? Or are segments taking longer to process than lists were before Inbound? Hubspot always seemed to do a decent job processing lists quickly, but now it’s more
Validation rulesValidation rules
Hi, 1) I am working on a simple usecase, When the Deal Stage is “Closed Lost” , System should throw message to capture “Close Lost Reason”.I am unable to use Conditional