Experiment
Multi-tenant FastAPI service that handles Telegram account linking on behalf of other products. Each tenant gets its own subdomain, Telegram API credentials, backend URLs and branding, resolved by middleware from the subdomain, header or query parameter. Supports phone OTP, QR-code login and two-factor authentication, with a dashboard where a superadmin manages every tenant and each tenant user manages their own configuration.