Python OAuth

Open-source Python projects categorized as OAuth

Top 23 Python OAuth Projects

  1. django-allauth

    Integrated set of Django applications addressing authentication, registration, account management as well as 3rd party (social) account authentication. 🔁 Mirror of https://codeberg.org/allauth/django-allauth/

    Project mention: Creating a To-Do app with Django and HTMX - Part 1: Creating the Django project with uv | dev.to | 2025-01-01

    Later we may want to incorporate django-allauth in the project, but we want to keep it simple and have something up and running soon, so let's just create an app called core, create a UserProfile class inheriting from AbstractUser, and set our project to use this class as its authentication model.

  2. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  3. authlib

    The ultimate Python library in building OAuth, OpenID Connect clients and servers. JWS,JWE,JWK,JWA,JWT included.

  4. PRAW

    PRAW, an acronym for "Python Reddit API Wrapper", is a python package that allows for simple access to Reddit's API.

  5. django-oauth-toolkit

    OAuth2 goodies for the Djangonauts!

  6. python-oauth2

    A fully tested, abstract interface to creating OAuth clients and servers.

  7. OAuthLib

    A generic, spec-compliant, thorough implementation of the OAuth request-signing logic

  8. python-social-auth

    Social auth made simple

  9. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  10. python-o365

    A simple python library to interact with Microsoft Graph and Office 365 API

  11. rauth

    A Python library for OAuth 1.0/a, 2.0, and Ofly.

  12. Flask-OAuthlib

    YOU SHOULD USE https://github.com/lepture/authlib

  13. email-oauth2-proxy

    An IMAP/POP/SMTP proxy that transparently adds OAuth 2.0 authentication for email clients that don't support this method.

    Project mention: I Got Gemini to Figure Out My Nephew's Name | news.ycombinator.com | 2025-05-21
  14. Authomatic

    Simple yet powerful authorization / authentication client library for Python web applications.

  15. Shreddit

    Remove your comment history on Reddit as deleting an account does not do so.

  16. Python Social

    Python Social Auth - Core

  17. fastapi-sso

    FastAPI plugin to enable SSO to most common providers (such as Facebook login, Google login and login via Microsoft Office 365 Account)

  18. django-oauth2-provider

    Provide OAuth2 access to your app

  19. drf-social-oauth2

    drf-social-oauth2 makes it easy to integrate Django social authentication with major OAuth2 providers, i.e., Facebook, Twitter, Google, etc.

  20. pyTwitchAPI

    A Python 3.7 compatible implementation of the Twitch API, EventSub and Chat

  21. sanction

    A dead simple OAuth2 client implementation.

  22. patreon-python

    Interact with the Patreon API via OAuth

  23. asyncpraw

    Async PRAW, an abbreviation for "Asynchronous Python Reddit API Wrapper", is a python package that allows for simple access to Reddit's API.

  24. fastapi-oauth2

    Easy to integrate OAuth2 authentication with support for several identity providers.

  25. yahoo-oauth

    Yahoo OAuth Library

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python OAuth discussion

Log in or Post with

Python OAuth related posts

  • I Got Gemini to Figure Out My Nephew's Name

    2 projects | news.ycombinator.com | 21 May 2025
  • Again self-hosting! on k3s

    4 projects | dev.to | 15 Apr 2025
  • Integrate Google OAuth2 Social Authentication into your Django Web App

    1 project | dev.to | 18 Sep 2024
  • Django AllAuth Chapter 4 - Customizing Django AllAuth UI

    1 project | dev.to | 29 Jul 2024
  • Some packages are no longer installable after test command is removed

    6 projects | news.ycombinator.com | 29 Jul 2024
  • Django AllAuth Chapter 1 - The All-in-one solution for Auth in Django

    2 projects | dev.to | 25 Jun 2024
  • Proxy to add OAuth 2.0 authentication to email clients that don't support it

    1 project | news.ycombinator.com | 19 Jan 2024
  • A note from our sponsor - Stream
    getstream.io | 11 Jul 2025
    Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure. Learn more →

Index

What are some of the best open-source OAuth projects in Python? This list will help you:

# Project Stars
1 django-allauth 10,028
2 authlib 4,891
3 PRAW 3,751
4 django-oauth-toolkit 3,250
5 python-oauth2 3,003
6 OAuthLib 2,898
7 python-social-auth 2,826
8 python-o365 1,810
9 rauth 1,601
10 Flask-OAuthlib 1,451
11 email-oauth2-proxy 1,108
12 Authomatic 1,044
13 Shreddit 1,011
14 Python Social 879
15 fastapi-sso 418
16 django-oauth2-provider 337
17 drf-social-oauth2 286
18 pyTwitchAPI 278
19 sanction 189
20 patreon-python 126
21 asyncpraw 123
22 fastapi-oauth2 79
23 yahoo-oauth 65

Sponsored
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io

Did you know that Python is
the 2nd most popular programming language
based on number of references?