# singingwolfboy/flask-dance

Doing the OAuth dance with style using Flask, requests, and oauthlib.

Repository: https://github.com/singingwolfboy/flask-dance
Canonical: https://ross.abutalabs.com/products/flask-dance
Homepage: https://pypi.python.org/pypi/Flask-Dance/
Language: Python
License: MIT
License Family: permissive
Last push: 2024-06-07T07:10:20+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4376, "days_push": 817, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1012, forks 155 (observed 2026-08-28T04:03:13.406951+00:00)

## What it is
Flask-Dance is a Python library that simplifies OAuth consumer authentication in Flask applications, built on requests and oauthlib. It provides preconfigured blueprints for popular OAuth providers and pluggable token storage, including SQLAlchemy-backed persistence.

## Use cases
- add sign-in with GitHub to a Flask app
- implement OAuth login for Google, Twitter, or other providers
- store OAuth access tokens in a database with SQLAlchemy
- make authenticated API calls on behalf of users
- support custom OAuth providers not preconfigured

## When to choose
- you're building a Flask app that needs OAuth-based user login
- you want prebuilt provider blueprints for common services like GitHub or Google
- you need persistent OAuth token storage instead of session-only tokens

## When to avoid
- your app isn't built on Flask
- you need to act as an OAuth provider rather than a consumer
- you're using a framework like Django or FastAPI with its own OAuth ecosystem

## Facets
- artifact type: library
- maturity: active
- function: auth, http-client, middleware
- domain: web-development, security, apis
- platform: python
- tags: oauth, flask, oauth2, oauth1, flask-extension, token-storage, sqlalchemy, web-server

## Member repositories
- singingwolfboy/flask-dance (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:13.406951+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:11:47.499967+00:00, confidence not recorded.
  - readme: https://github.com/singingwolfboy/flask-dance (fetched 2026-08-28T04:03:13.406951+00:00, sha e407c4b3342d)
  - homepage: https://pypi.python.org/pypi/Flask-Dance/ (fetched 2026-08-29T13:11:31.749657+00:00, sha bc0c7c9504db)
  - registry_pypi: https://pypi.org/pypi/flask-dance/json (fetched 2026-08-29T13:11:31.753243+00:00, sha 5a6b0469b6f5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
