Google (OAuth) authentication strategies for Passport and Node.js.
JavaScript Makefile
Clone or download
Latest commit 00ca64c Sep 15, 2017


Build Coverage Quality Dependencies

Passport strategies for authenticating with Google using OAuth 1.0a and OAuth 2.0.

This is a meta-module that combines passport-google-oauth1 and passport-google-oauth20. It exists for backwards-compatibility with applications making use of the combined package. As of version 1.0.0, it is encouraged to declare dependencies on the module that implements the specific version of OAuth needed.


$ npm install passport-google-oauth



The test suite is located in the test/ directory. All new features are expected to have corresponding test cases. Ensure that the complete test suite passes by executing:

$ make test


The test suite covers 100% of the code base. All new feature development is expected to maintain that level. Coverage reports can be viewed by executing:

$ make test-cov
$ make view-cov



This software is provided to you as open source, free of charge. The time and effort to develop and maintain this project is dedicated by @jaredhanson. If you (or your employer) benefit from this project, please consider a financial contribution. Your contribution helps continue the efforts that produce this and other open source software.

Funds are accepted via PayPal, Venmo, and other methods. Any amount is appreciated.


The MIT License

Copyright (c) 2012-2016 Jared Hanson <>