In this chapter, we secured the customer banking portal based on username and password authentication scheme and token-based authentication. The first section of the chapter covered the commonly used authentication mechanisms, basics of token-based authentication, and saw how it differs from the traditional session cookie-based approach.
In the second section, we developed the login screen and applied the token-based authentication using JWT. This second covered the user input validation.
In the third section, we implemented error handling for a failed login attempt. The fourth section was about retrieving the logged in user from the authentication token and displaying the username on the screen. In the last section, we implemented the logout feature.
This was the last chapter in the series of developing the customer banking portal. In the next chapter, we will look at developing an editable grid with CRUD operations.