{"categories":[{"label":"Dynamic Content","url":"https://skillfed.io/packages/category/internet-www-http-dynamic-content"}],"enrichment":{"capability":"Flask-Dance simplifies OAuth authentication in Flask applications by providing pre-built integrations with multiple OAuth providers and handling the token exchange flow automatically.","skillfed_tags":["oauth-consumer","flask-extension","authentication"],"use_cases":["Add OAuth login to a Flask app without writing OAuth flow code from scratch.","Implement persistent OAuth token storage in a database using the SQLAlchemy backend.","Support multiple OAuth providers in a single Flask application.","Integrate OAuth authentication with Flask-Login for user session management.","Build a custom OAuth integration for a non-standard provider using the flexible API."],"what_it_does":"Flask-Dance is a Flask extension that abstracts the OAuth consumer flow, letting you add OAuth-based login to your application with minimal boilerplate. It wraps requests, oauthlib, and requests-oauthlib to handle token exchange, refresh, and storage transparently. The package provides pre-configured blueprints for popular providers and a flexible API for custom providers.\n\nBy default, tokens are stored in Flask's session, but the package supports pluggable storage backends\u2014most commonly SQLAlchemy for persistent database storage. This prevents users from losing authentication when clearing browser cookies. The library integrates with Flask-SQLAlchemy, Flask-Login, and Flask-Caching, making it a natural fit for larger Flask applications that already use those extensions.","worth_installing":"Yes, for stable OAuth authentication needs in Flask apps. The package is mature, well-documented, and carries no known vulnerabilities. Dormant maintenance is acceptable here because OAuth flows are standardized and unlikely to require frequent updates. Install it if you need straightforward OAuth integration; avoid it only if you require active upstream development or support for very recent OAuth extensions."},"id":"flask-dance","links":{"html":"https://skillfed.io/packages/flask-dance","md":"https://skillfed.io/packages/flask-dance.md","pypi":"https://pypi.org/project/flask-dance/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-03-05","license_spdx":null,"license_treatment":"permissive","name":"Flask-Dance","python_support":"supports_current","summary":"Doing the OAuth dance with style using Flask, requests, and oauthlib"},"popularity":{"monthly_downloads":1235885,"position":4175,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"7.1.0"}
