Auth0 Node.js SDK - v6.0.0
    Preparing search index...

    Interface EventStreamCloudEventConnectionDeletedObject6Options

    Options for the 'google-apps' connection

    interface EventStreamCloudEventConnectionDeletedObject6Options {
        admin_access_token_expiresin?: string;
        allow_setting_login_scopes?: boolean;
        api_enable_groups?: boolean;
        api_enable_users?: boolean;
        client_id: string;
        domain?: string;
        domain_aliases?: string[];
        email?: boolean;
        ext_agreed_terms?: boolean;
        ext_groups?: boolean;
        ext_groups_extended?: boolean;
        ext_is_admin?: boolean;
        ext_is_suspended?: boolean;
        federated_connections_access_tokens?: EventStreamCloudEventConnectionDeletedObject6OptionsFederatedConnectionsAccessTokens;
        handle_login_from_social?: boolean;
        icon_url?: string;
        map_user_id_to_id?: boolean;
        non_persistent_attrs?: string[];
        profile?: boolean;
        scope?: string[];
        set_user_root_attributes?: Management.EventStreamCloudEventConnectionDeletedObject6OptionsSetUserRootAttributesEnum;
        tenant_domain?: string;
        upstream_params?: EventStreamCloudEventConnectionDeletedObject6OptionsUpstreamParams;
    }
    Index

    Properties

    admin_access_token_expiresin?: string

    Expiration timestamp for the admin_access_token in ISO 8601 format. Auth0 uses this value to determine when to refresh the token.

    allow_setting_login_scopes?: boolean

    When true, allows customization of OAuth scopes requested during user login. Custom scopes are appended to the mandatory email and profile scopes. When false or omitted, only the default email and profile scopes are used. This property is automatically enabled when Token Vault or Connected Accounts features are activated.

    api_enable_groups?: boolean

    Enables integration with the Google Workspace Admin SDK Directory API for groups. When true, Auth0 can synchronize groups & group memberships and supports inbound directory provisioning for groups. Defaults to false.

    api_enable_users?: boolean

    Enables integration with the Google Workspace Admin SDK Directory API. When true, Auth0 can retrieve extended user attributes (admin status, suspension status, group memberships) and supports inbound directory provisioning (SCIM). Defaults to true.

    client_id: string

    Your Google OAuth 2.0 client ID. You can find this in your Google Cloud Console under the OAuth 2.0 Client IDs section.

    domain?: string

    Primary Google Workspace domain name that users must belong to.

    domain_aliases?: string[]

    Email domains associated with this connection for Home Realm Discovery (HRD). When a user's email matches one of these domains, they are automatically routed to this connection during authentication.

    email?: boolean

    Whether the OAuth flow requests the email scope.

    ext_agreed_terms?: boolean

    Fetches the agreedToTerms flag from the Google Directory profile.

    ext_groups?: boolean

    Enables enrichment with Google group memberships (required for ext_groups_extended).

    ext_groups_extended?: boolean

    Controls whether enriched group entries include id, email, name (true) or only the group name (false); can only be set when ext_groups is true.

    ext_is_admin?: boolean

    Fetches the Google Directory admin flag for the signing-in user.

    ext_is_suspended?: boolean

    Fetches the Google Directory suspended flag for the signing-in user.

    handle_login_from_social?: boolean

    When enabled, users who sign in with their Google account through a social login will be automatically routed to this Google Workspace connection if their email domain matches the configured tenant_domain or domain_aliases. This ensures enterprise users authenticate through their organization's Google Workspace identity provider rather than through a generic Google social login, enabling access to directory-based attributes and enforcing organizational security policies. Defaults to true for new connections.

    icon_url?: string

    URL for the connection icon displayed in Auth0 login pages. Accepts HTTPS URLs. Used for visual branding in authentication flows.

    map_user_id_to_id?: boolean

    Determines how Auth0 generates the user_id for Google Workspace users. When false (default), the user's email address is used. When true, Google's stable numeric user ID is used instead, which persists even if the user's email changes. This setting can only be configured when creating the connection and cannot be changed afterward.

    non_persistent_attrs?: string[]

    An array of user fields that should not be stored in the Auth0 database (https://auth0.com/docs/security/data-security/denylist)

    profile?: boolean

    Whether the OAuth flow requests the profile scope.

    scope?: string[]

    Additional OAuth scopes requested beyond the default email profile scopes; ignored unless allow_setting_login_scopes is true.

    tenant_domain?: string

    The Google Workspace primary domain used to identify the organization during authentication.