import { ShieldAlert } from "lucide-react"; const README_CLOUDFLARE_ACCESS_URL = "https://github.com/every-app/open-seo#cloudflare-deployment--access-setup"; type AuthConfigErrorCardProps = { message: string; onRetry?: () => void; }; export function AuthConfigErrorCard({ message, onRetry, }: AuthConfigErrorCardProps) { return (

Authentication setup required

{message}

Check the auth environment variables for your selected AUTH_MODE. Cloudflare Access requires TEAM_DOMAIN and POLICY_AUD. Hosted mode requires BETTER_AUTH_SECRET and BETTER_AUTH_URL.

{onRetry ? ( ) : null} Open Setup Guide
); }