$npx skillfedfor your agent

Flask-JWT-Extended

Extended JWT integration with Flask

Worth itPyPI Python ModulesReleased May 202613.6M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — flask_jwt_extended-4.7.4-py2.py3-none-any.whl
v4.7.4 · released 2026-05-13 · Python <4,>=3.10 · 3 runtime deps: Werkzeug, Flask, PyJWT

Yes. Flask-JWT-Extended is actively maintained, has no known vulnerabilities, low install friction, and a permissive MIT license. It is a standard choice for JWT authentication in Flask applications and is widely used (top 5000 packages by downloads). Install it if you need JWT authentication in Flask; the API is straightforward and the optional features are genuinely useful for production applications.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; earlier Python 3.x versions (3.6–3.9) are not supported by this release.
  • Low install friction with a pure-Python wheel distribution.
  • Actively maintained as of 2026-07-02 with recent releases; the project has 1581 stars and follows semantic versioning.

License · maintenance · safety

MIT (permissive) — MIT license (permissive) allows use in commercial and private projects with minimal restrictions; attribution is required but no copyleft obligations apply.

last release 2026-05-13 (93 days) · last repo commit 2026-07-02 · 1,581 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 13,637,572 downloads/mo, #1,270 on PyPI

Verify before relying

pip install flask-jwt-extended

from flask import Flask
from flask_jwt_extended import JWTManager, create_access_token

app = Flask(__name__)
app.config['JWT_SECRET_KEY'] = 'your-secret-key'
jwt = JWTManager(app)

access_token = create_access_token(identity='user_id')
  • Whether the package's optional features (cookie storage, CSRF protection, automatic user loading) require additional dependencies beyond the three listed runtime deps.
  • Performance characteristics when handling high token volumes or large custom claims payloads.
  • Real-world security audit status or known attack vectors specific to this implementation.
Same gist for agents: .md · .json

What it is and what it does

Flask-JWT-Extended is a Flask extension that integrates JSON Web Token authentication into your application. It wraps PyJWT and Werkzeug to provide decorators and utilities for protecting routes, validating tokens, and managing token state. The package handles the boilerplate of JWT setup so you can focus on application logic rather than cryptographic details.

Beyond basic token creation and validation, it offers optional features like refresh tokens (for long-lived sessions without re-authentication), token blocklisting (revocation), custom claims validation, fresh-token enforcement for sensitive operations, and cookie-based storage with CSRF protection. You configure it once on your Flask app and then use decorators like `@jwt_required()` on routes that need authentication.

Use it for

  • Protect REST API endpoints by requiring valid JWT tokens in request headers before allowing access.
  • Implement login flows with separate access and refresh tokens to balance security and user experience.
  • Revoke tokens on logout or when user permissions change by maintaining a blocklist.
  • Add custom claims (user roles, permissions) to tokens and validate them on each request.
  • Enforce fresh tokens for sensitive operations like password changes or account deletions.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Flask-JWT-Extended is actively maintained, has no known vulnerabilities, low install friction, and a permissive MIT license. It is a standard choice for JWT authentication in Flask applications and is widely used (top 5000 packages by downloads). Install it if you need JWT authentication in Flask; the API is straightforward and the optional features are genuinely useful for production applications.

Install

flask-jwt-extended on PyPI

Before you install

Low install friction with a pure-Python wheel distribution. Actively maintained as of 2026-07-02 with recent releases; the project has 1581 stars and follows semantic versioning.

Requires Python 3.10 or later; earlier Python 3.x versions (3.6–3.9) are not supported by this release.

License in practice

MIT license (permissive) allows use in commercial and private projects with minimal restrictions; attribution is required but no copyleft obligations apply.

Quickstart

pip install flask-jwt-extended

from flask import Flask
from flask_jwt_extended import JWTManager, create_access_token

app = Flask(__name__)
app.config['JWT_SECRET_KEY'] = 'your-secret-key'
jwt = JWTManager(app)

access_token = create_access_token(identity='user_id')

Verify before relying

  • Whether the package's optional features (cookie storage, CSRF protection, automatic user loading) require additional dependencies beyond the three listed runtime deps.
  • Performance characteristics when handling high token volumes or large custom claims payloads.
  • Real-world security audit status or known attack vectors specific to this implementation.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release <4,>=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
WerkzeugFlaskPyJWT
MaintenanceActively maintained 93 days since the last release
Last repo commit
First released
Downloads13,637,572 / month, #1,270 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: FlaskIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Libraries :: Python Modules

Evidence: flask_jwt_extended-4.7.4-py2.py3-none-any.whl

Tags

Capabilities
flask jwt authenticationjson web token flaskjwt token managementflask route protectionrefresh token flasktoken revocation blocklistjwt custom claims
Topics
authenticationjwtflask-extension
PyPI keywords
flaskjwtjson web token

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “flask jwt authentication”

  • Flask-JWT-ExtendedAdds JSON Web Token (JWT) authentication to Flask applications,…
  • Flask-CognitoFlask-Cognito integrates AWS Cognito JWT authentication into Flask…
  • Flask-AWSCognitoIntegrates AWS Cognito user authentication into Flask applications,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also Flask-Cognito · Flask-HTTPAuth · sanic-jwt · django-ninja-jwt · djangorestframework-jwt · Flask-AWSCognito · okta-jwt-verifier · jose · edx-drf-extensions · Flask-BasicAuth