Skip to main content

Google Authentication Library

Project description


This library simplifies using Google’s various server-to-server authentication mechanisms to access Google APIs.


You can install using pip:

$ pip install google-auth

For more information on setting up your Python development environment, please refer to Python Development Environment Setup Guide for Google Cloud Platform.


google-auth has few extras that you can install. For example:

$ pip install google-auth[pyopenssl]

Note that the extras pyopenssl and enterprise_cert should not be used together because they use conflicting versions of cryptography.

Supported Python Versions

Python >= 3.7

NOTE: Python 3.7 was marked as unsupported by the python community in June 2023. We recommend that all developers upgrade to Python 3.8 and newer as soon as they can. Support for Python 3.7 will be removed from this library after January 1 2024. Previous releases that support Python 3.7 will continue to be available for download, but releases after January 1 2024 will only target Python 3.8 and newer.

Unsupported Python Versions

  • Python == 2.7: The last version of this library with support for Python 2.7 was google.auth == 1.34.0.

  • Python 3.5: The last version of this library with support for Python 3.5 was google.auth == 1.23.0.

  • Python 3.6: The last version of this library with support for Python 3.6 was google.auth == 2.22.0.


Google Auth Python Library has usage and reference documentation at

Current Maintainers



Contributions to this library are always welcome and highly encouraged.

See CONTRIBUTING.rst for more information on how to get started.


Apache 2.0 - See the LICENSE for more information.

Project details

Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

google-auth-2.29.0.tar.gz (244.3 kB view hashes)

Uploaded Source

Built Distribution

google_auth-2.29.0-py2.py3-none-any.whl (189.2 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page