{"id":13461716,"url":"https://github.com/oauthlib/oauthlib","last_synced_at":"2026-03-27T04:10:47.225Z","repository":{"id":1885498,"uuid":"2811323","full_name":"oauthlib/oauthlib","owner":"oauthlib","description":"A generic, spec-compliant, thorough implementation of the OAuth request-signing logic","archived":false,"fork":false,"pushed_at":"2025-03-08T06:23:18.000Z","size":3101,"stargazers_count":2874,"open_issues_count":93,"forks_count":489,"subscribers_count":63,"default_branch":"master","last_synced_at":"2025-05-09T00:02:07.512Z","etag":null,"topics":["authentication","authorization","identity","jwt-authentication","jwt-bearer-tokens","library","oauth","oauth1","oauth2","oidc","oidc-provider","openid-connect","python","python-2","python-3","python2","python3","token-based-authentication"],"latest_commit_sha":null,"homepage":"https://oauthlib.readthedocs.io/en/latest/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oauthlib.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","contributing":"docs/contributing.rst","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["JonathanHuot"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2011-11-19T23:08:51.000Z","updated_at":"2025-05-08T13:10:21.000Z","dependencies_parsed_at":"2024-04-28T01:51:11.287Z","dependency_job_id":"46906e41-09fa-4c40-9092-40f2c2786ba1","html_url":"https://github.com/oauthlib/oauthlib","commit_stats":{"total_commits":1254,"total_committers":205,"mean_commits":6.117073170731707,"dds":0.7647527910685805,"last_synced_commit":"1fd5253630c03e3f12719dd8c13d43111f66a8d2"},"previous_names":["idan/oauthlib"],"tags_count":54,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oauthlib%2Foauthlib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oauthlib%2Foauthlib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oauthlib%2Foauthlib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oauthlib%2Foauthlib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oauthlib","download_url":"https://codeload.github.com/oauthlib/oauthlib/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253342060,"owners_count":21893553,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authentication","authorization","identity","jwt-authentication","jwt-bearer-tokens","library","oauth","oauth1","oauth2","oidc","oidc-provider","openid-connect","python","python-2","python-3","python2","python3","token-based-authentication"],"created_at":"2024-07-31T11:00:54.168Z","updated_at":"2026-03-27T04:10:47.218Z","avatar_url":"https://github.com/oauthlib.png","language":"Python","readme":"OAuthLib - Python Framework for OAuth1 \u0026 OAuth2\n===============================================\n\n*A generic, spec-compliant, thorough implementation of the OAuth request-signing\nlogic for Python 3.8+*\n\n.. image:: https://img.shields.io/static/v1?label=Dev%20Containers\u0026message=Open\u0026color=blue\n  :target: https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/oauthlib/oauthlib\n  :alt: Open DevContainer in VSCode\n.. image:: https://github.com/oauthlib/oauthlib/actions/workflows/python-build.yml/badge.svg\n  :target: https://github.com/oauthlib/oauthlib/actions\n  :alt: GitHub Actions\n.. image:: https://coveralls.io/repos/oauthlib/oauthlib/badge.svg?branch=master\n  :target: https://coveralls.io/r/oauthlib/oauthlib\n  :alt: Coveralls\n.. image:: https://img.shields.io/pypi/pyversions/oauthlib.svg\n  :target: https://pypi.org/project/oauthlib/\n  :alt: Download from PyPI\n.. image:: https://img.shields.io/pypi/l/oauthlib.svg\n  :target: https://pypi.org/project/oauthlib/\n  :alt: License\n.. image:: https://app.fossa.io/api/projects/git%2Bgithub.com%2Foauthlib%2Foauthlib.svg?type=shield\n   :target: https://app.fossa.io/projects/git%2Bgithub.com%2Foauthlib%2Foauthlib?ref=badge_shield\n   :alt: FOSSA Status\n.. image:: https://img.shields.io/readthedocs/oauthlib.svg\n  :target: https://oauthlib.readthedocs.io/en/latest/index.html\n  :alt: Read the Docs\n.. image:: https://badges.gitter.im/oauthlib/oauthlib.svg\n  :target: https://gitter.im/oauthlib/Lobby\n  :alt: Chat on Gitter\n\n\n.. image:: https://raw.githubusercontent.com/oauthlib/oauthlib/8d71b161fd145d11c40d55c9ab66ac134a303253/docs/logo/oauthlib-banner-700x192.png\n  :target: https://github.com/oauthlib/oauthlib/\n  :alt: OAuth + Python = OAuthlib Python Framework\n\n\nOAuth often seems complicated and difficult-to-implement. There are several\nprominent libraries for handling OAuth requests, but they all suffer from one or\nboth of the following:\n\n1. They predate the `OAuth 1.0 spec`_, AKA RFC 5849.\n2. They predate the `OAuth 2.0 spec`_, AKA RFC 6749.\n3. They assume the usage of a specific HTTP request library.\n\n.. _`OAuth 1.0 spec`: https://tools.ietf.org/html/rfc5849\n.. _`OAuth 2.0 spec`: https://tools.ietf.org/html/rfc6749\n\nOAuthLib is a framework which implements the logic of OAuth1 or OAuth2 without\nassuming a specific HTTP request object or web framework. Use it to graft OAuth\nclient support onto your favorite HTTP library, or provide support onto your\nfavourite web framework. If you're a maintainer of such a library, write a thin\nveneer on top of OAuthLib and get OAuth support for very little effort.\n\n\nDocumentation\n--------------\n\nFull documentation is available on `Read the Docs`_. All contributions are very\nwelcome! The documentation is still quite sparse, please open an issue for what\nyou'd like to know, or discuss it in our `Gitter community`_, or even better, send a\npull request!\n\n.. _`Gitter community`: https://gitter.im/oauthlib/Lobby\n.. _`Read the Docs`: https://oauthlib.readthedocs.io/en/latest/index.html\n\nInterested in making OAuth requests?\n------------------------------------\n\nThen you might be more interested in using `requests`_ which has OAuthLib\npowered OAuth support provided by the `requests-oauthlib`_ library.\n\n.. _`requests`: https://github.com/requests/requests\n.. _`requests-oauthlib`: https://github.com/requests/requests-oauthlib\n\nWhich web frameworks are supported?\n-----------------------------------\n\nThe following packages provide OAuth support using OAuthLib.\n\n- For Django there is:\n  - `django-oauth-toolkit`_, which includes `Django REST framework`_ support.\n  - `django-allauth`_, which includes `Django REST framework`_ as well as `Django Ninja`_ support.\n- For Flask there is `flask-oauthlib`_ and `Flask-Dance`_.\n- For Pyramid there is `pyramid-oauthlib`_.\n- For Bottle there is `bottle-oauthlib`_.\n\nIf you have written an OAuthLib package that supports your favorite framework,\nplease open a Pull Request, updating the documentation.\n\n.. _`django-oauth-toolkit`: https://github.com/evonove/django-oauth-toolkit\n.. _`flask-oauthlib`: https://github.com/lepture/flask-oauthlib\n.. _`Django REST framework`: http://django-rest-framework.org\n.. _`Flask-Dance`: https://github.com/singingwolfboy/flask-dance\n.. _`pyramid-oauthlib`: https://github.com/tilgovi/pyramid-oauthlib\n.. _`bottle-oauthlib`: https://github.com/thomsonreuters/bottle-oauthlib\n.. _`django-allauth`: https://allauth.org/\n.. _`Django Ninja`: https://django-ninja.dev/\n\nUsing OAuthLib? Please get in touch!\n------------------------------------\nPatching OAuth support onto an http request framework? Creating an OAuth\nprovider extension for a web framework? Simply using OAuthLib to Get Things Done\nor to learn?\n\nNo matter which we'd love to hear from you in our `Gitter community`_ or if you have\nanything in particular you would like to have, change or comment on don't\nhesitate for a second to send a pull request or open an issue. We might be quite\nbusy and therefore slow to reply but we love feedback!\n\nChances are you have run into something annoying that you wish there was\ndocumentation for, if you wish to gain eternal fame and glory, and a drink if we\nhave the pleasure to run into each other, please send a docs pull request =)\n\n.. _`Gitter community`: https://gitter.im/oauthlib/Lobby\n\nLicense\n-------\n\nOAuthLib is yours to use and abuse according to the terms of the BSD-3-Clause license.\nCheck the LICENSE file for full details.\n\nCredits\n-------\n\nOAuthLib has been started and maintained several years by Idan Gazit and other\namazing `AUTHORS`_. Thanks to their wonderful work, the open-source `community`_\ncreation has been possible and the project can stay active and reactive to users\nrequests.\n\n\n.. _`AUTHORS`: https://github.com/oauthlib/oauthlib/blob/master/AUTHORS\n.. _`community`: https://github.com/oauthlib/\n\nChangelog\n---------\n\n*OAuthLib is in active development, with the core of both OAuth1 and OAuth2\ncompleted, for providers as well as clients.* See `supported features`_ for\ndetails.\n\n.. _`supported features`: https://oauthlib.readthedocs.io/en/latest/feature_matrix.html\n\nFor a full changelog see ``CHANGELOG.rst``.\n","funding_links":["https://github.com/sponsors/JonathanHuot"],"categories":["Python","身份验证","library","验证","Authorization \u0026 Authentication","Authentication","Awesome Python","Client Library"],"sub_categories":["Authentication","Python"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foauthlib%2Foauthlib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foauthlib%2Foauthlib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foauthlib%2Foauthlib/lists"}