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. Sevalla

    Deploy and host your apps and databases, now with $50 credit! Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!

    Sevalla 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. Python Social

    Python Social Auth - Core

  16. fastapi-sso

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

  17. django-oauth2-provider

    Provide OAuth2 access to your app

  18. drf-social-oauth2

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

  19. pyTwitchAPI

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

  20. sanction

    A dead simple OAuth2 client implementation.

  21. asyncpraw

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

  22. patreon-python

    Interact with the Patreon API via OAuth

  23. fastapi-oauth2

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

  24. yahoo-oauth

    Yahoo OAuth Library

  25. aPRAW

    Asynchronous Python Reddit API Wrapper

  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 - Sevalla
    sevalla.com | 1 Sep 2025
    Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more! 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,090
2 authlib 4,968
3 PRAW 3,810
4 django-oauth-toolkit 3,271
5 python-oauth2 3,003
6 OAuthLib 2,924
7 python-social-auth 2,826
8 python-o365 1,827
9 rauth 1,601
10 Flask-OAuthlib 1,451
11 email-oauth2-proxy 1,173
12 Authomatic 1,045
13 Python Social 887
14 fastapi-sso 429
15 django-oauth2-provider 337
16 drf-social-oauth2 285
17 pyTwitchAPI 282
18 sanction 189
19 asyncpraw 130
20 patreon-python 126
21 fastapi-oauth2 84
22 yahoo-oauth 65
23 aPRAW 48

Sponsored
Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com

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