oauthlib integration for Google Auth
February 24, 2026 ยท View on GitHub
:NOTE: This github repository is archived. The repository contents and history have moved to google-cloud-python_.
.. _google-cloud-python: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-auth-oauthlib
oauthlib integration for Google Auth
|pypi|
This library provides oauthlib_ integration with google-auth_.
.. |build| image:: https://travis-ci.org/googleapis/google-auth-library-python-oauthlib.svg?branch=main :target: https://googleapis.dev/python/google-auth-oauthlib/latest/index.html .. |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.7
Unsupported Python Versions
Python == 2.7, Python < 3.7.
The last version of this library compatible with Python 2.7 and 3.5 is
google-auth-oauthlib==0.4.1.
The last version of this library compatible with Python 3.6 is
google-auth-oauthlib==1.2.2.
License
Apache 2.0 - See the LICENSE_ for more information.
.. _the LICENSE: https://github.com/googleapis/google-auth-library-python-oauthlib/blob/main/LICENSE