angular-jwt
Helper library for handling JWTs in Angular 2+ apps
This library provides an HttpInterceptor which automatically attaches a JSON Web Token to HttpClient requests. This library does not have any functionality for (or opinion about) implementing user authentication and retrieving JWTs to begin with. Those details will vary depending on your setup, but in most cases, you will use a regular HTTP request to authenticate your users and then save their JWTs in local storage or in a cookie if successful. This library can only be used with Angular 4.3...