Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

fix: restore Google/Outlook sign-in buttons on ERP login page

Claude914a7ada7c64
diff --git a/apps/erp/app/routes/_public+/login.tsx b/apps/erp/app/routes/_public+/login.tsx
index f3431425c1..400bb9fa68 100644
--- a/apps/erp/app/routes/_public+/login.tsx
+++ b/apps/erp/app/routes/_public+/login.tsx
@@ -279,6 +279,35 @@ export default function LoginRoute() {
</Alert>
)}
+ {hasGoogleAuth && (
+ <Button
+ type="button"
+ size="lg"
+ className="w-full"
+ onClick={onSignInWithGoogle}
+ isDisabled={fetcher.state !== "idle"}
+ variant="secondary"
+ leftIcon={<GoogleIcon />}
+ >
+ Sign in with Google
+ </Button>
+ )}
+ {hasOutlookAuth && (
+ <Button
+ type="button"
+ size="lg"
+ className="w-full"
+ onClick={onSignInWithAzure}
+ isDisabled={fetcher.state !== "idle"}
+ variant="secondary"
+ leftIcon={<OutlookIcon className="size-6" />}
+ >
+ Sign in with Outlook
+ </Button>
+ )}
+
+ {(hasGoogleAuth || hasOutlookAuth) && <Separator />}
+
<Input name="email" label="" placeholder="Email Address" />
<Submit