La fonction de suggestion automatique permet d'affiner rapidement votre recherche en suggérant des correspondances possibles au fur et à mesure de la frappe.
I am trying to work with my dev team and convert all the web forms and app sign in forms we have into Hubspot forms. For this, I am using Hubspot's Forms API and the web form embed code.
One such form on our website allows users to sign up using their Google email. Is there a way for me to capture that email as well and store it on Hubspot?
Any pointers or help documentation here will be appreciated.
oct. 23, 20205:42 AM - modifié oct. 23, 20205:47 AM
Contributeur
Hubspot forms and Google SSO
Résolue
> One such form on our website allows users to sign up using their Google email. Is there a way for me to capture that email as well and store it on Hubspot?
as far as google oauth2 goes, a successful signin will return profile information back to your callback endpoint. Not 100% sure but I think you set up the scopes within google console so that you'd get their email, name etc. You would want to capture that on the app endpoint, and probably do some sort of database check:
user = askMyDatabase(data.email)
if (user === undefined) { submitDataToForm(data) }
oct. 23, 20205:42 AM - modifié oct. 23, 20205:47 AM
Contributeur
Hubspot forms and Google SSO
Résolue
> One such form on our website allows users to sign up using their Google email. Is there a way for me to capture that email as well and store it on Hubspot?
as far as google oauth2 goes, a successful signin will return profile information back to your callback endpoint. Not 100% sure but I think you set up the scopes within google console so that you'd get their email, name etc. You would want to capture that on the app endpoint, and probably do some sort of database check:
user = askMyDatabase(data.email)
if (user === undefined) { submitDataToForm(data) }