awesome-repositories.com
Blog
MCP
awesome-repositories.com

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectDespreCum realizăm clasamentulPresăServer MCP
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
jazzband avatar

jazzband/djangorestframework-simplejwt

0
View on GitHub↗
4,321 stele·706 fork-uri·Python·MIT·4 vizualizăridjango-rest-framework-simplejwt.readthedocs.io↗

Djangorestframework Simplejwt

This is a JSON Web Token authentication package for the Django REST Framework that manages stateless user identities. It serves as an authentication provider and token manager used to issue and validate signed tokens to maintain user sessions across multiple requests.

The project implements a dual-token lifecycle, issuing short-lived access tokens and long-lived refresh tokens to balance security with session persistence. It features token rotation to prevent replay attacks and a blacklisting system to invalidate compromised credentials. Additionally, it supports sliding-window expiration to automatically extend active sessions and allows for custom identity claims to embed user metadata directly into token payloads.

The system provides comprehensive capabilities for token signing using both symmetric and asymmetric algorithms, as well as cryptographic validation to verify identities without database lookups. It also includes integration for OpenAPI security schemes to document token-based authentication requirements and tools for database cleanup of expired tokens.

Features

  • REST Framework Plugins - Provides a specialized JWT authentication extension designed specifically for the Django REST Framework.
  • Request Token Validators - Verifies the identity of users by validating tokens sent in requests to secured API endpoints.
  • Access and Refresh Token Issuances - Implements a dual-token system issuing short-lived access tokens and long-lived refresh tokens.
  • Refresh Token Rotation - Rotates refresh tokens upon each use to detect and prevent replay attacks from stolen tokens.
  • Token Blacklisting - Invalidates specific tokens before their natural expiration to prevent unauthorized access.
  • JWT Session Management - Handles the lifecycle of short-lived access tokens and long-lived refresh tokens to balance security and convenience.
  • Stateless Verifications - Implements identity verification using cryptographically signed tokens without requiring server-side state or database lookups.
  • Identity Token Services - Validates cryptographically signed tokens to manage stateless user identities.
  • Token Lifecycle Management - Manages the full token lifecycle, including issuance, refreshing, rotation, and sliding-window expiration.
  • JWT Token Validators - Provides services to verify the authenticity and expiration of JSON Web Tokens without exposing signing keys.
  • Token Blacklists - Tracks invalidated or rotated tokens in a database to prevent the reuse of compromised credentials.
  • Session Token Refreshers - Generates new access tokens using valid refresh or sliding tokens to extend sessions.
  • JWT Authentications - Implements identity verification by validating signed JSON Web Tokens attached to REST API requests.
  • Session Token Issuance - Exchanges user credentials for access and refresh token pairs to establish secure sessions.
  • Stateless Token Validation - Verifies user identity cryptographically using digital signatures without requiring database queries.
  • Token Rotation and Blacklisting - Manages token rotation and blacklisting to prevent replay attacks and revoke compromised sessions.
  • Dual Symmetric and Asymmetric Support - Supports both symmetric (HS256) and asymmetric (RSA) signing algorithms for flexible security models.
  • Configurable Signing Algorithms - Allows configuration of the cryptographic algorithms and keys used to sign and verify tokens.
  • Authentication Validation Rules - Executes custom logic during the authentication process to determine if a validated user is permitted access.
  • Digital Signatures - Supports various cryptographic signature algorithms like RSA and ECDSA to ensure token integrity.
  • Token Hardening Techniques - Hardens API security by combining token rotation and blacklisting to prevent unauthorized access.
  • Token Generation - Allows the programmatic creation of access and refresh token pairs for specific users.
  • Token Invalidation - Implements the ability to invalidate specific refresh or sliding tokens by adding them to a blacklist.
  • Sliding Window Expirations - Automatically extends token validity upon each use to maintain active user sessions.
  • Password-Linked Revocations - Invalidates tokens by comparing the stored password hash in the payload against the current password.
  • Token Claim Customizations - Allows adding custom claims to JWT access tokens to embed user metadata.
  • Token Rotation Replay Prevention - Prevents replay attacks by blacklisting previously used refresh tokens after they have been rotated.
  • API Development - JSON Web Token support for REST frameworks.

Istoric stele

Graficul istoricului de stele pentru jazzband/djangorestframework-simplejwtGraficul istoricului de stele pentru jazzband/djangorestframework-simplejwt

Căutare AI

Explorează mai multe repository-uri excelente

Descrie ce ai nevoie în limbaj simplu — AI-ul sortează mii de proiecte open source selectate în funcție de relevanță.

Start searching with AI

Alternative open-source pentru Djangorestframework Simplejwt

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu Djangorestframework Simplejwt.
  • dwyl/learn-json-web-tokensAvatar dwyl

    dwyl/learn-json-web-tokens

    4,176Vezi pe GitHub↗

    This project is a technical tutorial and guide for implementing user identity and session management using JSON Web Tokens. It focuses on building a secure login system that verifies user identities in web and mobile applications. The material covers the full lifecycle of token-based security, including the issuance and validation of authentication tokens and the management of stateless sessions. It provides instructions on maintaining persistent user sessions through client-side storage and implementing session revocation to invalidate specific or all active tokens. The implementation detai

    JavaScript
    Vezi pe GitHub↗4,176
  • authlib/authlibAvatar authlib

    authlib/authlib

    5,346Vezi pe GitHub↗

    Authlib is a comprehensive Python library for building and integrating OAuth 1.0, OAuth 2.0, and OpenID Connect clients and servers. It provides a unified set of tools to manage authentication and authorization flows, allowing applications to either act as a client connecting to external identity providers or as a provider issuing tokens and managing user identities. The project distinguishes itself through a full implementation of the JOSE standards, offering a suite of cryptographic tools for generating, signing, encrypting, and validating JSON Web Tokens, Signatures, Encryption, and Keys.

    Pythondjangoflaskjose
    Vezi pe GitHub↗5,346
  • doorkeeper-gem/doorkeeperAvatar doorkeeper-gem

    doorkeeper-gem/doorkeeper

    5,501Vezi pe GitHub↗

    Doorkeeper is an OAuth 2 authorization server and provider for Ruby on Rails and Grape applications. It provides the necessary framework to build an authorization server that issues and validates security tokens for third-party applications, effectively acting as a security middleware to protect API endpoints. The project integrates an identity layer via OpenID Connect to verify user identities and retrieve profile information. It supports a variety of security patterns, including the implementation of the PKCE flow for public clients and the issuance of stateless JSON Web Tokens. Its broade

    Ruby
    Vezi pe GitHub↗5,501
  • thephpleague/oauth2-serverAvatar thephpleague

    thephpleague/oauth2-server

    6,650Vezi pe GitHub↗

    This project is a PHP library for implementing a spec-compliant OAuth 2.0 authorization server. It serves as an authentication framework for managing user identities and client authorizations, providing the necessary components to issue and validate access and refresh tokens. The server supports a wide range of standardized authorization flows, including authorization code exchange, device grants, implicit flows, and PKCE enforcement. It handles complex token lifecycles through refresh token rotation, scope management, and the use of asymmetric keys for signing digital tokens. The system pro

    PHPoauthoauth2oauth2-server
    Vezi pe GitHub↗6,650
Vezi toate cele 30 alternative pentru Djangorestframework Simplejwt→

Întrebări frecvente

Ce face jazzband/djangorestframework-simplejwt?

This is a JSON Web Token authentication package for the Django REST Framework that manages stateless user identities. It serves as an authentication provider and token manager used to issue and validate signed tokens to maintain user sessions across multiple requests.

Care sunt principalele funcționalități ale jazzband/djangorestframework-simplejwt?

Principalele funcționalități ale jazzband/djangorestframework-simplejwt sunt: REST Framework Plugins, Request Token Validators, Access and Refresh Token Issuances, Refresh Token Rotation, Token Blacklisting, JWT Session Management, Stateless Verifications, Identity Token Services.

Care sunt câteva alternative open-source pentru jazzband/djangorestframework-simplejwt?

Alternativele open-source pentru jazzband/djangorestframework-simplejwt includ: dwyl/learn-json-web-tokens — This project is a technical tutorial and guide for implementing user identity and session management using JSON Web… authlib/authlib — Authlib is a comprehensive Python library for building and integrating OAuth 1.0, OAuth 2.0, and OpenID Connect… thephpleague/oauth2-server — This project is a PHP library for implementing a spec-compliant OAuth 2.0 authorization server. It serves as an… doorkeeper-gem/doorkeeper — Doorkeeper is an OAuth 2 authorization server and provider for Ruby on Rails and Grape applications. It provides the… salvo-rs/salvo — Salvo is a comprehensive Rust web framework for building asynchronous HTTP servers and web applications. It features a… amitshekhariitbhu/go-backend-clean-architecture — This is a Go backend template that structures a web service into domain, usecase, controller, and repository layers…