Skip to content
TilloTech Docs

ADR-0007: Delete ConfigureTenantAuth routing command once OIDC setup migrates to Hub

Date: 24-08-2026 Author(s): Jayden Vicarey

Status

Proposed

Context

The tenant:configure-auth artisan command (ConfigureTenantAuth) is a routing command that presents a choice() menu of configurable auth provider types and delegates to the corresponding setup command (e.g. OIDCProviderSetup).

As part of EM-3729, the OAUTH_GENERIC arm was removed because OAuth provider configuration now happens via the Hub UI. This leaves ConfigureTenantAuth routing to a single provider type (OIDC_GENERIC), making the choice/match structure redundant for the current state of the codebase. The structure is preserved intentionally to avoid premature simplification, but the broader intent is to dissolve this routing command entirely.

The Storefront team is progressively migrating CLI-based auth provider configuration into the Hub UI. Once the OIDC setup flow is also available in the Hub, the OIDCProviderSetup command and its parent ConfigureTenantAuth routing command will have no remaining use.

Decision

Delete the ConfigureTenantAuth routing command and the OIDCProviderSetup CLI command once OIDC provider configuration is available in the Hub UI, following the same pattern as the OAuth CLI removal (EM-3729).

This should be tracked as a follow-up ticket when the Hub OIDC form work is planned or completed.