Many protocols of quantum dialogue are based on the assumption that the user is legitimate. In fact, the assumption is ideal. Therefore, it is necessary to identify whether the user is legitimate or not. In this paper, by adding identity authentication, a quantum dialogue protocol is proposed based on four-particle entangled states. For preparing the entangled state, we first give the description of the preparation process and draw the diagram of the prepared quantum circuit. Next, the nonlocal correlation properties of the entangled state are investigated. By associating identity authentication with channel security detection, the consumption of quantum resources is reduced to a certain extent. Furthermore, a random number r and a one-way hash function are added to increase the security of the protocol. In the end, compared with other protocols, our protocol has an improvement in efficiency.