Comparison
Authlib vs Flask-Dance vs Flask-OAuthlib vs oic
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
The ultimate Python library in building OAuth and OpenID Connect servers and clients.
Actively maintained. Last release 11 days ago, commits in 18 of the last 26 weeks. A safe choice.
pip install authlibDoing the OAuth dance with style using Flask, requests, and oauthlib
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install flask-danceOAuthlib for Flask
Likely abandoned. No release or commit for years (last release over 6 years ago).
pip install flask-oauthlibPython implementation of OAuth2 and OpenID Connect
Low maintenance activity. Last release over 2 years ago, commits in 6 of the last 26 weeks. Weaker on recent releases and release cadence.
pip install oicIn short
- Flask-Dance is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- Flask-OAuthlib looks abandoned: avoid it for new projects.
- Authlib is the most used: 154.5M downloads a month, 620× more than Flask-OAuthlib.
- Authlib also has the best Pythie’s Index (76).
- Authlib is growing fastest: downloads +26% over the last month.
- Safe default for a new project: Authlib.
Side by side
| Metric | Authlib | Flask-Dance | Flask-OAuthlib | oic |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 76 | Pythie’s Index: 22 | Pythie’s Index: 20 | Pythie’s Index: 37 |
| Verdict | Actively maintained | Slowing down | Likely abandoned | Low maintenance activity |
| Downloads / month | 154.5M | 165.4K | 249.1K | 233.9K |
| Downloads, month over month | +26% | +13% | -2% | +6% |
| GitHub stars | 5.5K | 1K | 1.4K | 748 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 0 | 14 | 22 | 21 |
| Last release | Nov 20, 2026 | Mar 5, 2024 | Sep 7, 2020 | Apr 25, 2024 |
| Releases, 12 months | 23 | 0 | 0 | 0 |
| Weeks with commits | 18 / 26 | 0 / 26 | 0 / 26 | 6 / 26 |
| Recent contributors | 6 | 21 | 36 | 13 |
| First release | Nov 2017 | Sep 2014 | May 2013 | Jan 2014 |
| Python versions | 3.10 – 3.14 | 3.7 – 3.10 | 3.3 – 3.6 | 3.8 – 3.11 |
| License | BSD-3-Clause | MIT | non-standard | Apache-2.0 |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.