diff --git a/apps/auth/package.json b/apps/auth/package.json
index a7a4f7df39..18a8574d6e 100644
--- a/apps/auth/package.json
+++ b/apps/auth/package.json
@@ -8,7 +8,7 @@
"@klicker-uzh/prisma": "workspace:*",
"@klicker-uzh/shared-components": "workspace:*",
"@next-auth/prisma-adapter": "1.0.7",
- "@uzh-bf/design-system": "2.5.1",
+ "@uzh-bf/design-system": "2.5.2",
"axios": "1.4.0",
"bcryptjs": "2.4.3",
"js-cookie": "3.0.5",
diff --git a/apps/auth/src/pages/index.tsx b/apps/auth/src/pages/index.tsx
index d694574091..59f04fe7b3 100644
--- a/apps/auth/src/pages/index.tsx
+++ b/apps/auth/src/pages/index.tsx
@@ -1,6 +1,12 @@
import Footer from '@klicker-uzh/shared-components/src/Footer'
import LanguageChanger from '@klicker-uzh/shared-components/src/LanguageChanger'
-import { Button, Checkbox, H1, UserNotification } from '@uzh-bf/design-system'
+import {
+ Button,
+ Checkbox,
+ H1,
+ Tooltip,
+ UserNotification,
+} from '@uzh-bf/design-system'
import { GetStaticPropsContext } from 'next'
import { signIn, signOut, useSession } from 'next-auth/react'
import { useTranslations } from 'next-intl'
@@ -45,12 +51,40 @@ function SignInOutButton() {
)
}
+ const eduIdLoginButton = (
+
+ )
+
return (
{t('auth.loginInfo')}
@@ -82,27 +116,13 @@ function SignInOutButton() {
checked={tosChecked}
/>
-
+ {!tosChecked ? (
+
+ {eduIdLoginButton}
+
+ ) : (
+ eduIdLoginButton
+ )}