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
Auth0 for AI Agents now in GA Icon
Auth0 for AI Agents now in GA

Ready to implement AI with confidence (without sacrificing security)?

Connect your AI agents to apps and data more securely, give users control over the actions AI agents can perform and the data they can access, and enable human confirmation for critical agent actions.
Start building today
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