The google-auth-library
NPM package is used to manage accesses to most of the GCP APIs and resources. For example, a typical scenario is to acquire an OAuth2 access token or an ID token.
This document is an attempt to provide a different spin to the official Google documentation and explain how this library works and how to use it properly.