def METHOD_NAME(self):
    """Assert the view is restricted to authenticated users."""
    self._login_user()
    response = self.client.get(reverse("account:login_complete_redirect"))
    self.assertEqual(response.status_code, 302)
    # Assert frontend redirection
    parsed_response_url = urlparse(response.url)
    self.assertEqual(parsed_response_url.netloc, "localhost:3000")
    self.assertEqual(parsed_response_url.path, "/")
    # Assert token presence
    challenge_token_str = parse_qs(parsed_response_url.query)["token"][0]
    challenge_token = ChallengeToken(challenge_token_str)
    self.assertEqual(challenge_token["user_id"], str(self.existing_user.pk))