Hi HubSpot Team,
We have a WordPress plugin that integrates with HubSpot. We have a technical question about implementing the new seamless install flow.
The Challenge:
When a user installs from HubSpot Marketplace:
- HubSpot sends code + returnUrl to my server
- We exchange the code for OAuth tokens
- User stays in HubSpot ✓
Problem: We don’t know which WordPress site to deliver the tokens to.
Unlike SaaS apps where users have accounts on our system, our WordPress plugin users don’t have accounts with us. Each user has their own independent WordPress installation, and we have no way to identify their site during the Marketplace install flow.
Question:
1. What’s the recommended approach for WordPress/CMS plugin developers to handle this?
2. How do other WordPress plugin integrations solve the token delivery problem when the install originates from HubSpot instead of the user’s WordPress site?
Any guidance would be appreciated.
Thanks!