JWT Authentication in Angular – Part 2 – Error handling

In the previous part, we created a mechanism for fetching, saving, and adding tokens to headers of HTTP requests. These tokens usually have some expiration time. API receives and validates … Continue reading “JWT Authentication in Angular – Part 2 – Error handling”

JWT Authentication in Angular – Part 1 – Setup

Most web applications can be split into two parts – public and private. The public part of the app is open to everyone who knows the address. It can be … Continue reading “JWT Authentication in Angular – Part 1 – Setup”