google-auth-oauthlib
Google Authentication Library
Install
google-auth-oauthlib on PyPI
pip
pip install google-auth-oauthlibuv
uv add google-auth-oauthlibpoetry
poetry add google-auth-oauthlibPackage facts
| License | Apache 2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — google-auth, requests-oauthlib |
| Maintenance | actively maintained — 98 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: google_auth_oauthlib-1.4.0-py3-none-any.whl
Keywords: google, auth, oauth, client, oauthlib
About google-auth-oauthlib
from the package's own PyPI description — quoted content, verbatim
oauthlib integration for Google Auth
|pypi|
This library provides oauthlib integration with google-auth.
.. |pypi| image:: https://img.shields.io/pypi/v/google-auth-oauthlib.svg :target: https://pypi.python.org/pypi/google-auth-oauthlib
.. _oauthlib: https://github.com/idan/oauthlib .. _google-auth: https://github.com/googleapis/google-auth-library-python
Installing
You can install using pip_::
$ pip install google-auth-oauthlib
.. _pip: https://pip.pypa.io/en/stable/
Documentation
The latest documentation is available at google-auth-oauthlib.googleapis.dev_.
.. _google-auth-oauthlib.googleapis.dev: https://googleapis.dev/python/google-auth-oauthlib/latest/index.html
Supported Python Versions
Python >= 3.10
Unsupported Python Versions
Python == 2.7, Python <= 3.9.
License
Apache 2.0 - See the LICENSE_ for more information.
.. _the LICENSE: https://github.com/googleapis/google-cloud-python/blob/main/LICENSE
Read as markdown · JSON record · Source repository · Homepage
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
Provides OAuth 2.0 integration between Google Auth and oauthlib, enabling OAuth-based authentication flows for Google services.
Low install friction with only two runtime dependencies (google-auth and requests-oauthlib). Actively maintained with recent release (98 days ago) and current Python 3.10+ support.
Apache 2.0 permissive license allows broad use, modification, and distribution with minimal restrictions, suitable for both open-source and proprietary projects.
Usage
pip install google-auth-oauthlib
from google_auth_oauthlib.flow import InstalledAppFlow
flow = InstalledAppFlow.from_client_secrets_file(
'credentials.json', scopes=['https://www.googleapis.com/auth/drive'])
Requires Python >= 3.10; requires google-auth and requests-oauthlib as runtime dependencies.
Verdict: Production-stable OAuth integration for Google services with active maintenance, low dependency overhead, and permissive licensing. No known vulnerabilities and broad Python 3.10+ support make it a reliable choice for Google API authentication flows.
Needs verification
- Whether the package handles token refresh and expiration automatically or requires manual management.
- Support status for different Google API scopes and authentication scenarios beyond the basic flow.
- Performance characteristics and rate-limiting behavior when handling multiple concurrent OAuth flows.
Similar packages
permissive · top 100 on PyPI
google-auth-httplib2permissive · top 1,000 on PyPI
oauth2clientpermissive · top 1,000 on PyPI
requests-oauthlibpermissive · top 1,000 on PyPI
oauthlibpermissive · top 1,000 on PyPI
Authlibpermissive · top 1,000 on PyPI
adalpermissive · top 1,000 on PyPI
databricks-sdkpermissive · top 1,000 on PyPI
pydata-google-authpermissive · top 1,000 on PyPI
trinopermissive · top 1,000 on PyPI