feat(auth): add callback, silent renew and logout routes
This commit is contained in:
7
src/pages/LogoutPage.tsx
Normal file
7
src/pages/LogoutPage.tsx
Normal 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>
|
||||
}
|
||||
Reference in New Issue
Block a user