[#1] added base calendar and started to tweak ui

This commit is contained in:
Camille Moussu
2025-06-27 18:11:23 +02:00
parent cceb83519f
commit 624c1b43ca
19 changed files with 1593 additions and 238 deletions
+2 -19
View File
@@ -4,6 +4,7 @@ import { Callback } from "./oidcAuth";
import { useAppDispatch, useAppSelector } from "../../app/hooks";
import { push } from "redux-first-history";
import { setUserData } from "./userSlice";
import { Loading } from "../../components/Loading/Loading";
export function CallbackResume() {
const dispatch = useAppDispatch();
@@ -43,23 +44,5 @@ export function CallbackResume() {
}
}, [dispatch, saved]);
return (
<div>
<p>Processing OIDC callback...</p>
{/* Optionally show loading or debug info */}
{tokens && (
<ul>
<li>
ID_Token: <pre>{JSON.stringify(tokens?.id_token)}</pre>
</li>
<li>
Access_Token: <pre>{JSON.stringify(tokens?.access_token)}</pre>
</li>
<li>
User info: <pre>{JSON.stringify(userInfo, null, 2)}</pre>
</li>
</ul>
)}
</div>
);
return <Loading />;
}