Google Workspace Connection Error: "Cannot Read Properties of Undefined (Reading 'toLowerCase')"

Overview

After creating a Google Workspace connection, all login attempts fail with the following error message:

Cannot read properties of undefined (reading 'toLowerCase')

Applies To
  • Google Workspace Connections
  • Terraform
Cause

The connection was made with Terraform, which does not include the required property of tenant_domain within the options object. Terraform documentation currently incorrectly states that this property is optional: 

Solution

The solution is to include the tenant_domain property when creating the connection in Terraform or create the connection with the Auth0 Dashboard UI. 

Recommended content

No recommended content found...