HubSpot Ideas

OTanti

Contact Email Field Pre-Populated from SSO Login

We have a knowledge base article on hubspot https://portal.domain.com/knowledge-base/more-info which is behind SSO.

When a user tries to access https://portal.domain.com/knowledge-base/more-info they will be redirected to Microsoft Login and once the login is successful Azure will return the response to hubspot. Hubspot then redirects the user back to the original page https://portal.domain.com/knowledge-base/more-info.

Since in this article https://portal.domain.com/knowledge-base/more-info we have a form which creates a ticket we created a field for the Contact Email Property in order to be able to have the ticket associated to the Contact submitting the form. We also enable pre-populate feature on the form.

The problem is that the pre-populate feature on the form from Hubspot works based on a cookie which is set when they submit a form therefore:

  1. If the user never submitted a form or is working on a new device or incognito session, this cookie is not set therefore email is not pre-populated
  2. If the device is used by multiple users, it might be that I am logged on SSO with abc@domain.com, but if someone else on the same device submitted a hubspot form and inputted xyz@domain.com Hubspot will pre-populate it with xyz@domain.com