Use useAuthenticationStatus to get the authentication status for the user.
useAuthenticationStatus
const { isAuthenticated, isLoading } = useAuthenticationStatus()
Was this page helpful?