Python Oauth2

Open-source Python projects categorized as Oauth2

Top 23 Python Oauth2 Projects

  • django-allauth

    Integrated set of Django applications addressing authentication, registration, account management as well as 3rd party (social) account authentication.

  • Project mention: Django SaaS Package | /r/django | 2023-06-25

    If you don't want to use Pegasus or another paid product (presumably because of the cost), the packages I'd reach for are django-allauth for login/user stuff and dj-stripe for the Stripe integration. As for teams, there wasn't a library I was happy with so I rolled my own for Pegasus, but some people like django-tenants. It's too heavyweight for my taste as it requires a more complex dev/test/infrastructure setup with Postgres schemas, as opposed to having a single-database and handling multitenancy in the application layer. But there are pros and cons to both approaches.

  • Scout Monitoring

    Free Django app performance insights with Scout Monitoring. Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in is all you need to start monitoring your apps. Sign up for our free tier today.

    Scout Monitoring logo
  • authlib

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

  • gmvault

    gmail backup software

  • GAM

    command line management for Google Workspace

  • Project mention: Google have removed RSS support from their developer blogs | | 2023-12-11
  • django-oauth-toolkit

    OAuth2 goodies for the Djangonauts!

  • OAuthLib

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

  • fastapi-react

    🚀 Cookiecutter Template for FastAPI + React Projects. Using PostgreSQL, SQLAlchemy, and Docker

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • Flask-OAuthlib


  • django-rest-framework-social-oauth2

    python-social-auth and oauth2 support for django-rest-framework

  • 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: Bringing Exchange Support to Thunderbird | | 2024-04-21

    What makes you say the protocol is different for each provider?

    I maintain a proxy that transparently adds support for OAuth 2.0 support to IMAP/POP/SMTP clients (, and for normal use it doesn’t need to know anything about which service it is connecting to. Apart from advanced features such as CCG or ROPCG which are mostly O365 only, what is different?

  • django-oidc-provider

    OpenID Connect and OAuth2 provider implementation for Djangonauts.

  • fastapi-azure-auth

    Easy and secure implementation of Azure Entra ID (previously AD) for your FastAPI APIs 🔒 B2C, single- and multi-tenant support.

  • Project mention: FastUI: Build Better UIs Faster | | 2024-03-01

    I'm under the impression that you work for a company that sells services related to FastAPI?

    I maintain an open source library in my spare time for free, that you are welcome to ignore if you find better alternatives.

  • falconpy

    The CrowdStrike Falcon SDK for Python

  • Project mention: Identity API for PSfalcon or FalconPY | /r/crowdstrike | 2023-07-12

    And for falconpy:

  • loginpass

    Login with Google, GitHub, Twitter, Facebook and many other networks.

  • Project mention: Authlib: Python Authentication | | 2023-06-26

    You mean using authlib to do login with facebook/google? If so, this looks helpful:

  • django-auth-adfs

    A Django authentication backend for Microsoft ADFS and AzureAD

  • fastapi-sso

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

  • Project mention: Build a personal project is a good thing | | 2023-08-14

    After some searching, I stumbled upon fastapi-sso This library proved to be elegantly straightforward, with well-crafted examples. Encouraged by its capabilities, I decided to retire the previous signup/login mechanism in favor of GitHub SSO. The transition was seamless, and everything appeared to be sailing smoothly.

  • aioauth

    Asynchronous OAuth 2.0 provider for Python 3

  • Flask-Discord

    Discord OAuth2 extension for Flask. An Easier implementation of "Log In With Discord".

  • google-workspace

    A unofficial high level Python API wrapper for some of the productivity based Google APIs, that is focused on simplicity.

  • aPRAW

    Asynchronous Python Reddit API Wrapper

  • fastapi-oauth2

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

  • Project mention: New, easy to integrate OAuth2 authentication for FastAPI | /r/opensource | 2023-08-22
  • gwbackupy

    Open source Google Workspace™ backup solution written in python. (gmvault alternative)

  • Project mention: Gwbackupy: A working gmvault alternative – Gmail and Workspace backup tool | | 2023-07-15
  • Quart-Discord

    Discord OAuth2 extension for Quart. An Easier implementation of "Log In With Discord".

  • 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 Oauth2 discussion

Log in or Post with

Python Oauth2 related posts

  • SimpleLogin web version and mobile app frequently appear 429 Error!

    1 project | /r/Simplelogin | 8 Dec 2023
  • Emailadresse mit eigener Domain + Catch-All?

    1 project | /r/de_EDV | 6 Dec 2023
  • Proton - SimpleLogin authentik Social Login Setup

    1 project | /r/Authentik | 15 Nov 2023
  • The Frustration Loop

    1 project | | 23 Sep 2023
  • Question about the plus plan

    1 project | /r/ProtonMail | 6 Sep 2023
  • ProtonMail and Simple Login

    1 project | /r/ProtonMail | 15 Aug 2023
  • For outgoing mail, we can use services like AWS SES,, etc... but are there any SaaS products that let you create an inbox to receive emails?

    1 project | /r/AskProgramming | 11 Aug 2023
  • A note from our sponsor - SaaSHub | 21 Jun 2024
    SaaSHub helps you find the best software and product alternatives Learn more →


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

Project Stars
1 django-allauth 9,076
2 authlib 4,352
3 gmvault 3,550
4 GAM 3,430
5 django-oauth-toolkit 3,051
6 OAuthLib 2,761
7 fastapi-react 2,104
8 Flask-OAuthlib 1,446
9 django-rest-framework-social-oauth2 1,048
10 email-oauth2-proxy 730
11 django-oidc-provider 406
12 fastapi-azure-auth 409
13 falconpy 319
14 loginpass 294
15 django-auth-adfs 270
16 fastapi-sso 258
17 aioauth 210
18 Flask-Discord 178
19 google-workspace 85
20 aPRAW 49
21 fastapi-oauth2 45
22 gwbackupy 30
23 Quart-Discord 23

Free Django app performance insights with Scout Monitoring
Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in is all you need to start monitoring your apps. Sign up for our free tier today.