This is Google's officially supported node.js client library for using OAuth 2.0 authorization and authentication with Google APIs. Use Application Default Credentials when you use a single identity for all users in your application. Especially useful for applications running on Google Cloud. Application Default Credentials also support workload identity federation to access Google Cloud resources from non-Google Cloud platforms. Use JWT when you are using a single identity for all users. Especially useful for server->server or server->API communication. Use workload identity federation to access Google Cloud resources from Amazon Web Services (AWS), Microsoft Azure or any identity provider that supports OpenID Connect (OIDC). Use workforce identity federation to access Google Cloud resources using an external identity provider (IdP) to authenticate and authorize a workforce—a group of users, such as employees, partners, and contractors.

Features

  • Application Default Credentials
  • This library provides an implementation of Application Default Credentialsfor Node.js
  • Enable the API you want to use
  • Choose the correct credential type automatically
  • This library comes with an OAuth2 client that allows you to retrieve an access token and refreshes the token
  • Handle token events

Project Samples

Project Activity

See All Activity >

Categories

Authentication

License

Apache License V2.0

Follow Google Auth Library

Google Auth Library Web Site

Other Useful Business Software
Ship AI Apps Faster with Vertex AI Icon
Ship AI Apps Faster with Vertex AI

Go from idea to deployed AI app without managing infrastructure. Vertex AI offers one platform for the entire AI development lifecycle.

Ship AI apps and features faster with Vertex AI—your end-to-end AI platform. Access Gemini 3 and 200+ foundation models, fine-tune for your needs, and deploy with enterprise-grade MLOps. Build chatbots, agents, or custom models. New customers get $300 in free credit.
Try Vertex AI Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Google Auth Library!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Authentication Software

Registered

2023-02-16