## Is your feature request related to a problem?

We manage around 20 3rd party tools that our internal users can log into using G Suite (part of your enterprise / scale offering). When a user leaves, we need to disable their account. Currently we need to do this in G Suite and then any of the 3rd party tools where password login is still possible.

## Describe the solution you'd like

When a user leaves, we disable their account in G Suite and their account in PostHog becomes disabled too. Essentially, the ability to restrict specific users in PostHog to only be able to login via SSO (defaulting to this setting).

## Describe alternatives you've considered

Manually removing their account, and being the enemy of our IT manager.

## Additional context



#### *Thank you* for your feature request – we love each and every one!

ee/settings.py
return val
if os.getenv("SAML_ENTITY_ID") and os.getenv("SAML_ACS_URL") and os.getenv("SAML_X509_CERT"):
    SAML_CONFIGURED = True
    AUTHENTICATION_BACKENDS = AUTHENTICATION_BACKENDS + [
        "social_core.backends.saml.SAMLAuth",
    ]
    SOCIAL_AUTH_SAML_ENABLED_IDPS = {
        "posthog_custom": {
            "entity_id": getenv("SAML_ENTITY_ID"),
            "url": getenv("SAML_ACS_URL"),
            "x509cert": getenv("SAML_X509_CERT"),
            "attr_user_permanent_id": getenv("SAML_ATTR_PERMANENT_ID", "name_id"),
            "attr_first_name": getenv("SAML_ATTR_FIRST_NAME", "first_name"),
            "attr_last_name": getenv("SAML_ATTR_LAST_NAME", "last_name"),
            "attr_email": getenv("SAML_ATTR_EMAIL", "email"),
        },
    }
    SAML_ENFORCED = get_from_env("SAML_ENFORCED", False, type_cast=str_to_bool)
KAFKA_ENABLED = PRIMARY_DB == AnalyticsDBMS.CLICKHOUSE and not TEST
MATERIALIZE_COLUMNS_SCHEDULE_CRON = get_from_env("MATERIALIZE_COLUMNS_SCHEDULE_CRON", "0 5 * * SAT")
MATERIALIZE_COLUMNS_MINIMUM_QUERY_TIME = get_from_env("MATERIALIZE_COLUMNS_MINIMUM_QUERY_TIME", 3000, type_cast=int)
MATERIALIZE_COLUMNS_ANALYSIS_PERIOD_HOURS = get_from_env(
    "MATERIALIZE_COLUMNS_ANALYSIS_PERIOD_HOURS", 7 * 24, type_cast=int
)
MATERIALIZE_COLUMNS_BACKFILL_PERIOD_DAYS = get_from_env("MATERIALIZE_COLUMNS_BACKFILL_PERIOD_DAYS", 90, type_cast=int)
MATERIALIZE_COLUMNS_MAX_AT_ONCE = get_from_env("MATERIALIZE_COLUMNS_MAX_AT_ONCE", 10, type_cast=int)
KAFKA_EVENTS_PLUGIN_INGESTION_TOPIC: str = os.getenv(
    "KAFKA_EVENTS_PLUGIN_INGESTION_TOPIC", DEFAULT_KAFKA_EVENTS_PLUGIN_INGESTION
)