We now have fully functional API endpoints to enable users to register for an account, and then authenticate themselves using their email address and password. However, this is only half of the problem, as we still need to build a UI to perform these actions. We'll start by extending the Vuex store that we built in the last chapter to include the actions, mutations, and getters necessary to perform the API calls to the server, and store the authentication status of our users.
Authentication and user registration in the client app
Vuex state properties for authentication
The first step is very simple—we need a few additional properties added to the state object within our Vuex store. Open up the ClientApp/store...