Get "error": "access_denied" "Cannot read property 'name' of undefined" error when using SAML connection

I received
{
“error”: “access_denied”,
“error_description”: “Cannot read property ‘name’ of undefined”
}
error using SMAL login. The SAML response was successfully returned with the right attributes. I checked the auth0 log but there is no more information there. Any one has any thoughts on how to debug this issue?