In this article, we will discuss the implementation of JSON Web Token Authentication in Angular 8 application by using angular2-jwt package. This post is compatible with Angular v6+ and RxJS v6+ What is JWT? JWT or JSON Web Token is an encrypted string which contains information related to the logged in user and secret key,
In this tutorial, we will learn how to quickly integrate HttpClient service in Angular 8 application to consume RESTful API JSON data from the server. HttpClient enables the communication between client and server through many available methods like get(), post(), put(), delete() etc. We will also add Error handling techniques using RxJS operators at one
In our previous tutorial, we discussed how to implement a very basic Routing Module in an Angular 8 application. Here we will go a step further to discuss some more concepts related to Routing in Angular 8 application. What we are going to create? Create an Angular 8 application which will have Nested Routing up
Angular routing plays an important role in a real-world application which is responsible for loading different components which may have sensitive data as well. Angular provides a full proof mechanism to develop an application which can add a protecting shield for accessing components.
Ionic 4/5 is using Angular Routing, so it becomes very easy to add authentication in an Ionic application using Auth Guards. In this post, we will create a simple login application to quickly demonstrate how we can implement Angular Guards in Ionic to prevent access to pages if the user is not logged in. This
After the release of Ionic’s stable version 4, the major change which is introduced besides web components is related to Routing. The latest version of Ionic now supports Angular Routing. In the earlier version on Ionic, there was the concept of push and pop, where pages were pushed in a stack of pages having viewable