在 Auth0 中为 Google 应用程序连接启用 Contacts/Gmail 范围

Enable Contacts/Gmail scopes for Google Apps connection in Auth0

我正在尝试使用 Auth0 和 Google 企业连接为 webapp 设置身份验证。
应用程序需要能够访问用户的 个人资料联系人gmail

当我尝试使用 Auth0 中的 Social 连接时,我将其配置为请求 ContactsGmail 权限。然后同意如预期显示:
Configuration using Social Google Connection in Auth0

但是当我在 Auth0 中使用 Enterprise 连接尝试同样的事情时,ContactsGmail 权限不可用。因此,同意屏幕也不会要求他们:
Configuration using Enterprise Google Connection in Auth0

我在这里错过了什么?如何设置身份验证,以便

您应该在 Lock 中使用 connection_scopes 或在 Auth0JS 中使用 connection_scope 或 /authorize 调用将您想要请求的任何范围传递给身份提供者。