Refactor sign-in page and IAM service lifecycle

Redesign the sign-in page to show email/password form inline
with OIDC provider buttons (with vendor icons) instead of
separate pages. Extract OIDCProvider type to its own file.

Replace errgroup with sync.WaitGroup + WithCancelCause for
graceful shutdown in IAM services. Refactor garbage collectors
to use functional options and time.Ticker instead of
time.After to avoid repeated allocations.

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
Bryan Frimin
2026-03-21 19:11:09 +01:00
parent 23084a72a2
commit 83468db034
11 changed files with 384 additions and 176 deletions

View File

@@ -0,0 +1,19 @@
import type { ComponentProps } from "react";
export function Microsoft(props: ComponentProps<"svg">) {
return (
<svg
width="800px"
height="800px"
viewBox="0 0 256 256"
xmlns="http://www.w3.org/2000/svg"
preserveAspectRatio="xMidYMid"
{...props}
>
<rect x="0" y="0" width="121" height="121" fill="#F25022" />
<rect x="135" y="0" width="121" height="121" fill="#7FBA00" />
<rect x="0" y="135" width="121" height="121" fill="#00A4EF" />
<rect x="135" y="135" width="121" height="121" fill="#FFB900" />
</svg>
);
}

View File

@@ -1,2 +1,3 @@
export { Google } from "./Google";
export { Microsoft } from "./Microsoft";
export { Slack } from "./Slack";