Testing Auth
All checks were successful
Deploy to production / Build (push) Successful in 3m43s

This commit is contained in:
Kars van Velzen 2025-08-21 23:20:49 +02:00
parent fb4d2629e7
commit 6bbf298c32
2 changed files with 3 additions and 3 deletions

View file

@ -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 (
<div>

View file

@ -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
};