google-auth-library
11.3.4 · 9 Nov 2026Apache-2.0145.3M / weekRepositoryHomepagenpmAtom feed
3.1.2 is the newest release of 3.x.
In short
2 breaking1 new2 fixed11 internal
- Breaking
New features, bug fixes, breaking changes, performance improvements - something for everyone!
- Breaking
This release has breaking changes. This release has a few breaking changes.
Release note
The section about google-auth-library of a note shared by several packages.
01-16-2019 10:00 PST
Welcome to 3.0 🎉 This release has it all. New features, bug fixes, breaking changes, performance improvements - something for everyone! The biggest addition to this release is support for the browser via Webpack.
This release has breaking changes. This release has a few breaking changes. These changes are unlikely to affect most clients.
BREAKING: Migration from axios to gaxios
The 2.0 version of this library used the axios library for making HTTP requests. In the 3.0 release, this has been replaced by a mostly API compatible library gaxios. The new request library natively supports proxies, and comes with a smaller dependency chain. While this is mostly an implementation detail, the request method was directly exposed via the GoogleAuth.request and OAuth2Client.request methods. The gaxios library aims to provide an API compatible implementation of axios, but that can never be 100% promised. If you run into bugs or differences that cause issues - please do let us know.
BREAKING: generateCodeVerifier is now generateCodeVerifierAsync
The OAuth2Client.generateCodeVerifier method has been replaced by the OAuth2Client.generateCodeVerifierAsync method. It has changed from a synchronous method to an asynchronous method to support async browser crypto APIs required for Webpack support.
BREAKING: verifySignedJwtWithCerts is now verifySignedJwtWithCertsAsync
The OAuth2Client.verifySignedJwtWithCerts method has been replaced by the OAuth2Client.verifySignedJwtWithCertsAsync method. It has changed from a synchronous method to an asynchronous method to support async browser crypto APIs required for Webpack support.
New Features
Make it webpackable
Bug Fixes
Accept lowercase env vars
Internal / Testing Changes
Some browser fixes
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.