Too Long; Didn't Read
This article shows how to set up the Cognito UserPools JWT authentication flow and how it will integrate with an Angular Web Application. The steps are similar with Implicit flow also, except the session won’t get refreshed after id_token expires. NPM security audit is capable of finding and fixing known vulnerabilities in dependencies which could potentially cause data loss, service outages, unauthorized access to sensitive information. You need to install an additional package aws-amplify-angular in your Angular app.