'use client'; import { useEffect } from 'react'; import { useRouter } from 'next/navigation'; export default function OIDCCallbackPage() { const router = useRouter(); useEffect(() => { // The useOIDCAuth hook in providers.tsx handles the code exchange. // This page just shows a loading state while that happens. const timeout = setTimeout(() => router.push('/dashboard'), 3000); return () => clearTimeout(timeout); }, [router]); return (
Выполняется вход в систему