{"categories":[{"label":"Security","url":"https://skillfed.io/packages/category/security/2"}],"enrichment":{"capability":"Sanic JWT adds JWT-based authentication and authorization to Sanic web applications, protecting endpoints and managing authentication scopes through a configurable OAuth flow.","skillfed_tags":["jwt-auth","sanic-framework"],"use_cases":["Protect Sanic API endpoints with JWT tokens and enforce role-based or scope-based access control.","Add OAuth-style authentication to existing Sanic applications without writing custom token middleware.","Customize authentication logic by defining your own authenticate callback to integrate with external identity providers.","Manage session-like authentication in microservices using JWT tokens instead of server-side sessions."],"what_it_does":"Sanic JWT is an authentication library for the Sanic web framework that wraps JWT tokens to protect endpoints and enforce authentication scopes. It depends on pyjwt for token handling and is designed to be both quick to set up\u2014requiring only initialization with an authenticate callback\u2014and extensible for custom authorization logic.\n\nThe package provides a standard OAuth flow pattern: developers define an authenticate function, initialize the library with a Sanic app instance, and gain automatic protection on endpoints plus a built-in /auth endpoint for token issuance. It has been stable since its early releases but has not received updates since 2022-06-28, making it suitable for mature Sanic applications that do not require frequent framework upgrades.","worth_installing":"Yes, with conditions. The package is stable, has low install friction, carries a permissive MIT license, and has no known vulnerabilities. However, it is dormant\u2014last updated in June 2022\u2014so it is best suited for mature Sanic applications that do not require frequent framework upgrades. If you are using a recent Sanic version or expect active maintenance and updates, verify compatibility first or consider alternatives."},"id":"sanic-jwt","links":{"html":"https://skillfed.io/packages/sanic-jwt","md":"https://skillfed.io/packages/sanic-jwt.md","pypi":"https://pypi.org/project/sanic-jwt/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2022-06-28","license_spdx":null,"license_treatment":"permissive","name":"sanic-jwt","python_support":"unspecified","summary":"JWT oauth flow for Sanic"},"popularity":{"monthly_downloads":259207,"position":8416,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.8.0"}
