{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/10"},{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/7"},{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/14"},{"label":"Internet","url":"https://skillfed.io/packages/category/internet/4"},{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/4"},{"label":"Security","url":"https://skillfed.io/packages/category/security/2"},{"label":"HTTP Servers","url":"https://skillfed.io/packages/category/internet-www-http-http-servers"}],"enrichment":{"capability":"Adds JSON Web Token (JWT) authentication to Django GraphQL APIs, handling token generation, verification, and refresh through GraphQL mutations and middleware.","skillfed_tags":["graphql","authentication","jwt"],"use_cases":["Secure a GraphQL API by issuing JWTs to authenticated users and requiring tokens on protected queries and mutations.","Build a single-page app or mobile client that exchanges credentials for a JWT once, then uses the token for subsequent requests.","Implement token refresh logic so clients can renew expired tokens without re-authenticating.","Integrate GraphQL authentication with Django's existing user model and permission system.","Replace REST-based token endpoints with GraphQL mutations for a unified API surface."],"what_it_does":"django-graphql-jwt bridges JWT authentication into Django GraphQL APIs by providing middleware, authentication backends, and GraphQL mutations for token lifecycle management. It integrates with Django's built-in authentication system and graphene to let you issue, verify, and refresh JWTs through GraphQL mutations rather than REST endpoints.\n\nThe package handles the plumbing: it adds middleware to extract and validate tokens from request headers, registers a custom authentication backend that Django's permission system recognizes, and exposes three core mutations (obtain, verify, refresh) that clients call to manage their tokens. You configure it by adding middleware to Django settings and mutations to your GraphQL schema, then use standard Django decorators and permission checks on your resolvers.","worth_installing":"Yes, if you are building a Django GraphQL API and need JWT authentication. The package is stable (version 0.4.0, Beta status), has no known vulnerabilities, and integrates cleanly with standard Django and graphene patterns. Dormancy is a minor concern\u2014last commit was 2023-12-20\u2014but the code is mature and unlikely to require frequent updates. Not suitable if you need active maintenance or support for very recent Django or Python versions."},"id":"django-graphql-jwt","links":{"html":"https://skillfed.io/packages/django-graphql-jwt","md":"https://skillfed.io/packages/django-graphql-jwt.md","pypi":"https://pypi.org/project/django-graphql-jwt/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2023-08-04","license_spdx":null,"license_treatment":"permissive","name":"django-graphql-jwt","python_support":"supports_current","summary":"JSON Web Token for Django GraphQL."},"popularity":{"monthly_downloads":274134,"position":8193,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.4.0"}
