Skip to content

Commit 6391483

Browse files
committed
UW - branding and SSO config update
1 parent b9c6740 commit 6391483

5 files changed

Lines changed: 9 additions & 34 deletions

File tree

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<meta charset="UTF-8" />
1313
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
1414
<link rel="icon" href="/favicon.ico" type="image/ico">
15-
<title>ENGAGE-HF</title>
15+
<title>ADOPT-HF</title>
1616
</head>
1717
<body>
1818
<div id="root"></div>

modules/firebase/app.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ if (enableEmulation)
3333
connectAuthEmulator(auth, "http://127.0.0.1:9099", { disableWarnings: true });
3434

3535
export const authProvider = {
36-
stanford: new OAuthProvider("oidc.stanford"),
37-
johnsHopkins: new OAuthProvider("oidc.johnshopkins"),
38-
michigan: new OAuthProvider("oidc.michigan"),
36+
uw: new SAMLAuthProvider('saml.staging4.rit.uw.edu'),
3937
};
4038

4139
export const db = getFirestore(firebaseApp);

routes/~__root.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const Root = () => (
3333
<AuthProvider>
3434
<SpeziProvider router={routerProps}>
3535
<ReactQueryClientProvider>
36-
<Helmet defaultTitle="ENGAGE-HF" titleTemplate="%s - ENGAGE-HF" />
36+
<Helmet defaultTitle="ADOPT-HF" titleTemplate="%s - ADOPT-HF" />
3737
<Outlet />
3838
<Toaster />
3939
</ReactQueryClientProvider>
1.84 KB
Loading

routes/~sign-in/~index.tsx

Lines changed: 6 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ import { Helmet } from "react-helmet";
1313
import { AsideEngageLayout } from "@/components/AsideEngageLayout";
1414
import { env } from "@/env";
1515
import { auth, authProvider } from "@/modules/firebase/app";
16-
import johnsHopkingsLogoImg from "./johnsHopkinsLogo.png";
17-
import michiganLogoImg from "./michiganLogo.png";
18-
import stanfordLogoImg from "./stanfordLogo.png";
16+
import uwLogoImg from "./W-Logo_Purple_RGB.png";
1917

2018
const SignIn = () => (
2119
<AsideEngageLayout>
@@ -26,38 +24,17 @@ const SignIn = () => (
2624
className="mx-auto w-[350px]"
2725
providers={[
2826
{
29-
name: "Stanford",
30-
provider: authProvider.stanford,
27+
name: "University of Washington",
28+
provider: authProvider.uw,
3129
icon: (
3230
<img
33-
src={stanfordLogoImg}
34-
alt="Stanford University logo"
31+
src={uwLogoImg}
32+
alt="University of Washington logo"
3533
className="w-[22px]"
3634
/>
3735
),
3836
},
39-
{
40-
name: "Johns Hopkins",
41-
provider: authProvider.johnsHopkins,
42-
icon: (
43-
<img
44-
src={johnsHopkingsLogoImg}
45-
alt="Johns Hopkins University logo"
46-
className="w-[32px]"
47-
/>
48-
),
49-
},
50-
{
51-
name: "Michigan",
52-
provider: authProvider.michigan,
53-
icon: (
54-
<img
55-
src={michiganLogoImg}
56-
alt="University of Michigan logo"
57-
className="w-[51px]"
58-
/>
59-
),
60-
},
37+
6138
]}
6239
enableEmailPassword={env.VITE_PUBLIC_EMAIL_PASSWORD_SIGN_IN}
6340
auth={auth}

0 commit comments

Comments
 (0)