---
title: "Flask-JWT-Extended | pypx"
description: "Extended JWT integration with Flask"
canonical_url: "https://pypx.app/packages/Flask-JWT-Extended"
meta:
  "og:description": "Extended JWT integration with Flask"
  "og:image": "https://pypx.app/_og/d/h_630%2Cc_PackageCard%2Cname_Flask-JWT-Extended%2Cversion_4.7.4%2Csummary_Extended%2BJWT%2Bintegration%2Bwith%2BFlask%2Clicense_MIT%2BLicense%2Cp_Ii9wYWNrYWdlcy9GbGFzay1KV1QtRXh0ZW5kZWQi%2Cs_e55nYVKnFUsCh_Rd.png"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Flask-JWT-Extended 4.7.4"
  "twitter:image": "https://pypx.app/_og/d/h_630%2Cc_PackageCard%2Cname_Flask-JWT-Extended%2Cversion_4.7.4%2Csummary_Extended%2BJWT%2Bintegration%2Bwith%2BFlask%2Clicense_MIT%2BLicense%2Cp_Ii9wYWNrYWdlcy9GbGFzay1KV1QtRXh0ZW5kZWQi%2Cs_e55nYVKnFUsCh_Rd.png"
---

> Index of every page on this site: [llms.txt](https://pypx.app/llms.txt)

# **Flask-JWT-Extended**

v4.7.4

Extended JWT integration with Flask

22 KB Python 3.10+ py2.py3-none-anyMIT License3 deps

[** Diff **](https://pypx.app/packages/Flask-JWT-Extended/diff)

`$ uv add Flask-JWT-Extended`

# Flask-JWT-Extended

### Features

Flask-JWT-Extended not only adds support for using JSON Web Tokens (JWT) to Flask for protecting routes, but also many helpful (and **optional**) features built in to make working with JSON Web Tokens easier. These include:

- Adding custom claims to JSON Web Tokens
- Automatic user loading ( `current_user`).
- Custom claims validation on received tokens
- [Refresh tokens](https://auth0.com/blog/refresh-tokens-what-are-they-and-when-to-use-them/)
- First class support for fresh tokens for making sensitive changes.
- Token revoking/blocklisting
- Storing tokens in cookies and CSRF protection

### Usage

[View the documentation online](https://flask-jwt-extended.readthedocs.io/en/stable/)

### Upgrading from 3.x.x to 4.0.0

[View the changes](https://flask-jwt-extended.readthedocs.io/en/stable/v4_upgrade_guide/)

### Changelog

You can view the changelog [here](https://github.com/vimalloc/flask-jwt-extended/releases). This project follows [semantic versioning](https://semver.org/).

### Chatting

Come chat with the community or ask questions at https://discord.gg/EJBsbFd

### Contributing

Before making any changes, make sure to install the development requirements and setup the git hooks which will automatically lint and format your changes.

```
pip install -r requirements.txt
pre-commit install
```

We require 100% code coverage in our unit tests. You can run the tests locally with `tox` which ensures that all tests pass, tests provide complete code coverage, documentation builds, and style guide are adhered to

```
tox
```

A subset of checks can also be ran by adding an argument to tox. The available arguments are:

- py37, py38, py39, py310, py311, py312, pypy3
  - Run unit tests on the given python version
- mypy
  - Run mypy type checking
- coverage
  - Run a code coverage check
- docs
  - Ensure documentation builds and there are no broken links
- style
  - Ensure style guide is adhered to

```
tox -e py38
```

We also require features to be well documented. You can generate a local copy of the documentation by going to the `docs` directory and running:

```
make clean && make html && open _build/html/index.html
```

## **Details **

<dl>

<dt>Version</dt>
<dd>4.7.4</dd>

<dt>License</dt>
<dd>MIT License</dd>

<dt>Python</dt>
<dd>&lt;4,&gt;=3.10</dd>

<dt>Maintainer</dt>
<dd>Lily Acadia Gilbert</dd></dl>

## **Links**

- [Homepage](https://github.com/vimalloc/flask-jwt-extended)
- [View on PyPI](https://pypi.org/project/Flask-JWT-Extended/)

## **Release Cadence **

**2**

releases in the past year

avg 39 days between releases

## **Maintainers **

- Lily Acadia Gilbert · [lily.gilbert@hey.com](mailto:lily.gilbert@hey.com)

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://pypx.app/#website","@type":"WebSite","description":"The Python Package Index, reimagined. Fast search, dependency insights, download trends, and changelogs — all in one place.","name":"pypx","url":"https://pypx.app/"},{"@id":"https://pypx.app/packages/flask-jwt-extended#webpage","@type":"WebPage","description":"Extended JWT integration with Flask","name":"Flask-JWT-Extended","url":"https://pypx.app/packages/flask-jwt-extended","isPartOf":{"@id":"https://pypx.app/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://pypx.app/packages/flask-jwt-extended"]}]},{"@id":"https://pypx.app/packages/flask-jwt-extended#/schema/software-application/1","@type":"SoftwareApplication","applicationCategory":"DeveloperApplication","description":"Extended JWT integration with Flask","license":"MIT License","name":"Flask-JWT-Extended","softwareVersion":"4.7.4"}]}
```

## Sitemap

See the full [sitemap](https://pypx.app/sitemap.md) for all pages.
