Hi Everyone,
I’ve created a Hubspot CRM app using the CRM extensions API. The app authenticates with Hubspot during install using OAuth to get a Hubspot token.
The app defines a card, with a data fetch URL which fetches card data from our API. That fetch is authenticated using the Hubspot signature in the request header.
The two above authentications work fine.
But, what I’m confused about is how to authenticate as a user account in our API. When the user of our Hubspot app makes request to our API, via the Hubspot card, they must be authenticated. But I see no way to do that. Our API uses an email/password scheme for authentication -- is there any way to include a login step in the Hubspot app?
I’ve also seen examples (such as the Jira app), which does not authenticate with Hubspot on login, but rather with Jira, via Oauth. It’s my understanding that Hubspot apps must authenticate with the installer’s Hubspot account via OAuth when installing the app. How is it that apps like Jira instead authenticate with their own api?