We've setup an Auth0 application to let users sign into HubSpot customer portal using SAML but suddenly we're seeing MISSING_EMAIL_IN_RESPONSE error in log in response and users cannot log in. I've reached out to Auth0 already and they suggest to find out what HubSpot wants for email attribute.
Did something change on HubSpot's side? If we need a mapping from Auth0 email attribute to HubSpot, what is the mapping field?
I see that nameID is under 'subject' tag. Does it need to be under 'attributes' tag instead? I also see `nameidentifier` is often used as well. Which is it?
Hi @ZPykosz and welcome, it's a pleasure to have you here!
Thanks for reaching out to the HubSpot Community!
I checked for you and I can see on this article "Which username format should I set in my SAML application?" that HubSpot users are identified by email address. Ensure that your IDP is sending a nameID in email format that corresponds with their HubSpot user’s email address.
Have a lovely day and thanks so much in advance for your help! Bérangère
HubSpot’s AI-powered customer agent resolves up to 50% of customer queries instantly, with some customers reaching up to 90% resolution rates. Learn More.