I need help setting up LinkedIn authentication for my HubSpot forms
I want to add a LinkedIn login button to my HubSpot contact forms so users can automatically fill in their information. When I contacted HubSpot support, they told me this feature might still be in testing mode and said I should reach out to LinkedIn first to get proper access.
The support team mentioned I would need to get an API key from LinkedIn and then integrate the code into my forms. The problem is I’m not very technical when it comes to APIs and integration work.
Has anyone successfully connected LinkedIn’s sign-in feature with HubSpot forms? What steps did you take to make it work? I’m looking for guidance on how to approach this integration or if there are any workarounds available.
Any help would be appreciated since I’m pretty new to working with APIs and third-party integrations.
I did this exact same thing 6 months ago - here’s what worked for me. LinkedIn’s API integration isn’t straightforward, but you can definitely pull it off without being super technical. First, register your app through LinkedIn’s Developer Portal to get your client ID and secret. The OAuth flow is the tricky part - LinkedIn’s picky about redirect URLs and authentication handling. I used HubSpot’s custom HTML module for the LinkedIn login button, then built a middleware script to grab the profile data and push it to HubSpot through their Forms API. Took me about two weeks to get it working right, mostly because I kept hitting authentication bugs. Watch out for LinkedIn’s rate limits - test everything thoroughly before you go live. If you’re not comfortable with the technical stuff, just hire a developer for the initial setup. You’ll save yourself weeks of headaches.
Integrating LinkedIn login with HubSpot forms can be a bit of a challenge, but it’s definitely manageable. From my experience, the most complex part isn’t the technical setup but rather navigating LinkedIn’s API approval process, which requires a lot of paperwork and can take a considerable amount of time. You’ll need Marketing Developer Platform access for this. After approval, focus on writing custom JavaScript for the OAuth flow and ensure that you correctly map the fields from LinkedIn to HubSpot. Data mapping is crucial since LinkedIn’s API returns the profile data in a unique format that needs to be processed before reaching HubSpot. Starting with LinkedIn’s JavaScript SDK for a proof of concept is a smart approach before diving into a complete integration. Also, be cautious as LinkedIn has strict terms regarding data handling, so compliance is a must.