diff --git a/src/header/Header.tsx b/src/header/Header.tsx
index a761e5c..0606e08 100644
--- a/src/header/Header.tsx
+++ b/src/header/Header.tsx
@@ -4,7 +4,7 @@ import ThemeSwitch from "./themeSwitch.tsx";
import { useAuth } from 'oidc-react';
const Header = () => {
- const auth = useAuth(); // ✅ use the hook at the top level
+ const auth = useAuth();
return (
diff --git a/src/main.tsx b/src/main.tsx
index ec4b097..889ecd8 100644
--- a/src/main.tsx
+++ b/src/main.tsx
@@ -7,11 +7,11 @@ import Header from "./header/Header.tsx";
const oidcConfig = {
onSignIn: () => {
- // Redirect?
+ console.log('hi');
},
authority: 'https://auth.octubre.be',
clientId: '0WU8Mb9NfKQPvB29U0di3GGXVxv5uvolvOgcJiusjSw8eb0O8ghfVcLHLAg8MkGv',
- redirect_uri: 'https://octubre.be',
+ redirect_Uri: 'https://octubre.be',
autoSignIn: false,
autoSignOut: false
};