{"id":13705487,"url":"https://github.com/rscarrera27/Sanic-JWT-Extended","last_synced_at":"2025-05-05T16:32:55.493Z","repository":{"id":48149878,"uuid":"156388418","full_name":"rscarrera27/Sanic-JWT-Extended","owner":"rscarrera27","description":"⚡️An open source Sanic extension that provides \"extended\" JWT support","archived":false,"fork":false,"pushed_at":"2023-07-19T23:48:39.000Z","size":283,"stargazers_count":34,"open_issues_count":14,"forks_count":8,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T11:17:06.955Z","etag":null,"topics":["authentication","authorization","jwt","jwt-authentication","sanic"],"latest_commit_sha":null,"homepage":"https://sanic-jwt-extended.seonghyeon.dev","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rscarrera27.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-11-06T13:32:33.000Z","updated_at":"2025-02-11T01:32:38.000Z","dependencies_parsed_at":"2023-07-27T01:16:48.922Z","dependency_job_id":null,"html_url":"https://github.com/rscarrera27/Sanic-JWT-Extended","commit_stats":null,"previous_names":["novemberoscar/sanic-jwt-extended"],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rscarrera27%2FSanic-JWT-Extended","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rscarrera27%2FSanic-JWT-Extended/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rscarrera27%2FSanic-JWT-Extended/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rscarrera27%2FSanic-JWT-Extended/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rscarrera27","download_url":"https://codeload.github.com/rscarrera27/Sanic-JWT-Extended/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252534028,"owners_count":21763704,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authentication","authorization","jwt","jwt-authentication","sanic"],"created_at":"2024-08-02T22:00:42.375Z","updated_at":"2025-05-05T16:32:55.207Z","avatar_url":"https://github.com/rscarrera27.png","language":"Python","funding_links":[],"categories":["Extensions"],"sub_categories":["Authentication"],"readme":"\u003ch1 align=\"center\"\u003e🛡 Sanic-JWT-Extended 🛡\u003c/h1\u003e\n\n\u003cdiv align=\"center\"\u003e \n\n\n|           |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |\n|:----------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Buiild    | [![Tests](https://github.com/NovemberOscar/Sanic-JWT-Extended/workflows/Tests/badge.svg)](https://github.com/NovemberOscar/Sanic-JWT-Extended/actions?query=workflow%3ATests) [![Deploy](https://github.com/NovemberOscar/Sanic-JWT-Extended/workflows/Upload%20to%20PyPI/badge.svg)](https://github.com/NovemberOscar/Sanic-JWT-Extended/actions?query=workflow%3A%22Upload+to+PyPI%22) [![Netlify](https://img.shields.io/netlify/c2cf1ea1-bae1-448f-b52c-0dea6516446a?label=docs)](https://app.netlify.com/sites/sanic-jwt-extended/deploys)                                                                                         |\n| Quality   | [![codecov](https://codecov.io/gh/NovemberOscar/Sanic-JWT-Extended/branch/master/graph/badge.svg)](https://codecov.io/gh/NovemberOscar/Sanic-JWT-Extended) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/5fe125514047445b80d6e3e75c2a7dbe)](https://www.codacy.com/manual/NovemberOscar/Sanic-JWT-Extended?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=NovemberOscar/Sanic-JWT-Extended\u0026amp;utm_campaign=Badge_Grade) [![Maintainability](https://api.codeclimate.com/v1/badges/368dbc256c4837087c1e/maintainability)](https://codeclimate.com/github/NovemberOscar/Sanic-JWT-Extended/maintainability) |\n| Package   | ![PyPI](https://img.shields.io/pypi/v/sanic-jwt-extended.svg?label=stable) ![GitHub release (latest SemVer including pre-releases)](https://img.shields.io/github/v/release/NovemberOscar/Sanic-JWT-Extended?include_prereleases\u0026label=latest) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/sanic-jwt-extended.svg)                                                                                                                                                                                                                                                                                                  |\n| Stats     | [![Downloads](https://pepy.tech/badge/sanic-jwt-extended)](https://pepy.tech/project/sanic-jwt-extended)    [![Downloads](https://pepy.tech/badge/sanic-jwt-extended/month)](https://pepy.tech/project/sanic-jwt-extended/month)                                                                                                                                                                                                                                                                                                                                                                                                        |\n| Community | [![Gitter](https://badges.gitter.im/Sanic-JWT-Extended/community.svg)](https://gitter.im/Sanic-JWT-Extended/community?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge)                                                                                                                                                                                                                                                                                                                                                                                                                                                          |\n\u003c/div\u003e\n\n\u003e **☢️ This is README of 1.0 version. [Click here](https://github.com/NovemberOscar/Sanic-JWT-Extended/tree/v0.4.4) to checkout legacy version(v0.4.4)**\n\n## 🚀 What is Sanic-JWT-Extended?\nSanic-JWT-Extended is an open source Sanic extension that provides JWT support (comply with RFC standard)\n\n## 💡 Why Sanic-JWT-Extended?\nSanic-JWT-Extended not only adds support for using JSON Web Tokens (JWT) to Sanic for protecting views,\nbut also many helpful (and **optional**) features  built in to make working with JSON Web Tokens\neasier. These include:\n\n* Support for adding public claims with [namespacing](https://auth0.com/docs/tokens/concepts/claims-namespacing)\n* Support for adding private claims\n* [Refresh tokens](https://auth0.com/blog/refresh-tokens-what-are-they-and-when-to-use-them/)\n* Token freshness and separate view decorators to only allow fresh tokens\n* Access control\n* blacklist support with some built-in blacklist\n* Provides Token object for easier jwt manifulation\n\n## ⚡️ Installation\n```shell script\n$ pip install sanic-jwt-extended --pre\n```\n```shell script\n$ poetry add sanic-jwt-extended --git https://github.com/NovemberOscar/Sanic-JWT-Extended.git\n```\n```shell script\n$ pipenv install sanic-jwt-extended --pre\n```\n\n## 📚 Documentation\n\u003ca href=\"https://sanic-jwt-extended.seonghyeon.dev\"\u003e\n\u003cimg src=\"https://i.imgur.com/eXRmcKO.png)](https://sanic-jwt-extended.seonghyeon.dev/\" width=\"300\" /\u003e\n\u003c/a\u003e\n\n\n## 🛠 Developing Sanic-JWT-Extended\n\n### Prerequesties\n- [poetry](https://github.com/sdispater/poetry)\n\n### Installaion\n```shell script\n$ make env\n```\nthis will install dependencies with poetry. if poetry not found, will install poetry.\n\n### Development\n- `make format`: this will format your code with `isort` and `black`\n- `make check`: this will lint your code with `isort`, `black`, `mypy` and `pylint`\n- `make clean`: this will remove temporary things.\n\n### Commit Convention\n[Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/)\n\n### Testing\n```shell script\n$ make check  # check convention and type\n$ poetry run pytest\n```\n\nwith coverage:\n```shell script\n$ poetry run pytest --cov=sanic_jwt_extended tests/\n```\n\n**Make sure you wrote TCs about your work!**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frscarrera27%2FSanic-JWT-Extended","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frscarrera27%2FSanic-JWT-Extended","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frscarrera27%2FSanic-JWT-Extended/lists"}