import 'package:userfront/core/services/auth_proxy_service.dart'; bool shouldRouteConsentErrorToErrorScreen(Object error) { return error is AuthProxyException && error.errorCode == 'tenant_not_allowed'; }