Problem Statement:
After creating a google workspace connection, all login attempts fail with an error message of “Cannot read properties of undefined (reading ‘toLowerCase’)”.
Solution:
At this time the connection made with Terraform does not include the tenant_domain property within the options object. Terraform docs currently incorrectly state that this property is optional:
https://registry.terraform.io/providers/auth0/auth0/latest/docs/resources/connection#tenant_domain
The solution is to include the tenant_domain property when creating the connection in Terraform or create the connection with the Auth0 Dashboard UI. The docs update is on the roadmap.