Enjoying the preview?
This is the free first lesson. Get full access — request a demo or sign in.
Enjoying the preview?
This is the free first lesson. Get full access — request a demo or sign in.
As a developer, it’s important to be not only aware of the different authentication options, but also their strengths and any associated risks. In these lessons, we will look at some options that are available in the UI for implementing security, as well as security concerns to be aware of. Implementing authentication has to be done in a few parts—we will look at how to create a mock backend server response and how to use Angular to get the JWT token, store it in the browser session storage, and send it to the backend for all requests after that. You will also learn how to use a route guard to allow or deny access to routes using the authentication service. This is a popular pattern in UI applications for authentication that, as a developer, is very important to understand and be able to implement.
Security is of critical concern to all modern applications. In these lessons, you will learn how to work with JWT tokens, implement authentication, and store user credentials. You will also learn about the HTTP interceptor and use it to intercept HTTP requests and send the token back to the server for every request.
It is for developers who want to understand and be able to implement authentication in Angular UI applications, including working with JWT tokens, authentication, and storing user credentials.
It covers Angular authentication project setup, design options and considerations, building an authentication service, using JWT tokens with an HTTP interceptor, using an auth guard with authentication, and security concerns and risks.
Skills include application security, authentication protocols, JSON Web Token (JWT), secure application development, security tokens, and web application security.
You will understand what HTTP interceptors are and how to use them to intercept HTTP requests and send the token back to the server for every request.
You will learn how to use a route guard (auth guard) to allow or deny access to routes using the authentication service.