## 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!

posthog/urls.py
)
from posthog.demo import demo
from .utils import render_template
from .views import health, login_required, preflight_check, robots_txt, stats
ee_urlpatterns: List[Any] = []
try:
    from ee.urls import extend_api_router
    from ee.urls import urlpatterns as ee_urlpatterns
except ImportError:
    pass
else:
    extend_api_router(router, projects_router=projects_router, project_dashboards_router=project_dashboards_router)
try:
    
    from multi_tenancy.router import extend_api_router as extend_api_router_cloud  
except ImportError:
    pass
else:
    extend_api_router_cloud(router, organizations_router=organizations_router, projects_router=projects_router)
@csrf.ensure_csrf_cookie
def home(request, *args, **kwargs):
    return render_template("index.html", request)
def login_view(request):
    """
    Checks if SAML is enforced and prevents using password authentication if it's the case.
    """
    if getattr(settings, "SAML_ENFORCED", False):
        return redirect(f'{reverse("social:begin", kwargs={"backend": "saml"})}?idp=posthog_custom')
    return home(request)
def authorize_and_redirect(request):