Use useAuthenticationStatus to get the authentication status for the user.

const { isAuthenticated, isLoading } = useAuthenticationStatus()

Use useAuthenticationStatus to get the authentication status for the user.

const { isAuthenticated, isLoading } = useAuthenticationStatus()