Security is crucial for every application that you plan to build. Security is a very complex topic that should be analyzed and implemented considering best practices and standards. The Open Web Application Security Project (OWASP) organization is a worldwide non-profit organization focused on improving the security of the applications.
All the applications implement at least a simple security layer known as the authentication and authorization layer, which is responsible for restricting some access and features according to the permissions granted to a user based on the credentials provided to the application. Although this chapter is focused on how to secure our Aurelia applications, we will implement a simple authentication and authorization API as an example to integrate with our Aurelia web application.
In this chapter, we will be covering the following...