feat(auth): add callback, silent renew and logout routes

This commit is contained in:
Urban Modig
2025-10-13 00:24:35 +02:00
parent 03201cf133
commit f9bd9292ed
4 changed files with 48 additions and 0 deletions

7
src/pages/LogoutPage.tsx Normal file
View File

@ -0,0 +1,7 @@
import { useEffect } from 'react'
import { useAuth } from 'auth/AuthProvider'
export default function LogoutPage() {
const { signOut } = useAuth()
useEffect(() => { void signOut() }, [signOut])
return <p>Signing out</p>
}