awesome-repositories.com
Blog
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
·
auth0 avatar

auth0/express-jwt

0
View on GitHub↗
4,512 stele·441 fork-uri·TypeScript·MIT·2 vizualizări

Express Jwt

express-jwt este un middleware pentru aplicațiile Express care validează JSON Web Tokens pentru a securiza rutele și a autentifica cererile. Funcționează ca un gardian de securitate care verifică semnăturile token-urilor și datele de expirare înainte de a permite accesul la endpoint-urile backend.

Proiectul oferă un extractor de credențiale pentru cereri pentru a prelua token-uri din headere, cookie-uri sau parametri de query. Suportă preluarea dinamică a cheilor pentru a obține secretele necesare sau cheile publice la runtime, pe baza atributelor cererii sau a headerelor token-ului.

Middleware-ul gestionează validarea JSON Web Token, inclusiv gestionarea expirării token-ului și capacitatea de a verifica identificatorii token-ului față de listele de revocare pentru a invalida token-urile valide din punct de vedere criptografic. De asemenea, mapează atributele payload-ului decodat din token-urile validate direct pe obiectul cererii.

Features

  • JWT Authentications - Provides middleware for Express applications to authenticate requests using signed JSON Web Tokens.
  • Request Token Validators - Validates token signatures and expiration on every request to secure API endpoints.
  • JWT Route Guards - Acts as a route guard that verifies token signatures and expiration before allowing access to backend endpoints.
  • JSON Web Token Validators - Provides a robust mechanism to validate the authenticity of JWTs and extract user attributes.
  • Token Signature Verification - Implements cryptographic signature verification to ensure the authenticity of JSON Web Tokens.
  • Token Validation Middleware - Implements an Express middleware specifically for validating the authenticity and validity of JWTs.
  • Request Interception Middleware - Functions as middleware that intercepts incoming HTTP requests to perform security validation before hitting application logic.
  • Custom Extractors - Provides a customizable mechanism to extract authentication tokens from headers, cookies, or query parameters.
  • Request Credential Extractors - Includes a utility to retrieve authentication tokens from various request sources for validation.
  • Claim Mapping - Maps decoded JWT payload attributes directly to the request object for downstream use in the application.
  • Key Resolution - Dynamically resolves the correct public key from a set based on token headers at runtime.
  • Public Key Retrieval - Fetches the public keys necessary to verify digital signatures at runtime based on token headers.
  • Dynamic Key Retrieval - Retrieves the required verification keys at runtime based on request attributes or token headers.
  • Token Revocation - Supports checking token identifiers against revocation lists to invalidate cryptographically valid tokens.
  • Authentication Token Extraction - Allows the retrieval of authentication tokens from non-standard request sources using custom logic.
  • Expiring Tokens - Handles token expiration by allowing specific logic or custom error responses when a token has expired.

Istoric stele

Graficul istoricului de stele pentru auth0/express-jwtGraficul istoricului de stele pentru auth0/express-jwt

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

Întrebări frecvente

Ce face auth0/express-jwt?

express-jwt este un middleware pentru aplicațiile Express care validează JSON Web Tokens pentru a securiza rutele și a autentifica cererile. Funcționează ca un gardian de securitate care verifică semnăturile token-urilor și datele de expirare înainte de a permite accesul la endpoint-urile backend.

Care sunt principalele funcționalități ale auth0/express-jwt?

Principalele funcționalități ale auth0/express-jwt sunt: JWT Authentications, Request Token Validators, JWT Route Guards, JSON Web Token Validators, Token Signature Verification, Token Validation Middleware, Request Interception Middleware, Custom Extractors.

Care sunt câteva alternative open-source pentru auth0/express-jwt?

Alternativele open-source pentru auth0/express-jwt includ: jwt/ruby-jwt — This is a Ruby implementation library for encoding, decoding, and verifying JSON Web Tokens according to the RFC 7519… dwyl/learn-json-web-tokens — This project is a technical tutorial and guide for implementing user identity and session management using JSON Web… hagopj13/node-express-boilerplate — This project is a production-ready template for building RESTful APIs using Node.js and the Express web framework. It… jazzband/djangorestframework-simplejwt — This is a JSON Web Token authentication package for the Django REST Framework that manages stateless user identities.… loopbackio/loopback-next — LoopBack Next is a Node.js API framework used for building REST and multi-protocol APIs. It functions as an OpenAPI… passbolt/passbolt_api — Passbolt is an open-source, self-hosted password manager designed for teams. It provides a centralized, encrypted…

Alternative open-source pentru Express Jwt

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu Express Jwt.
  • jwt/ruby-jwtAvatar jwt

    jwt/ruby-jwt

    3,684Vezi pe GitHub↗

    This is a Ruby implementation library for encoding, decoding, and verifying JSON Web Tokens according to the RFC 7519 standard. It provides the primary tools for token signing and encoding, integrity verification, and the extraction of payloads and headers. The project includes a comprehensive JSON Web Key manager for importing, exporting, and resolving key sets. This system facilitates the generation of key thumbprints and the resolution of specific verification keys based on token identifiers. The library covers a wide range of security validation mechanisms, including the verification of

    Ruby
    Vezi pe GitHub↗3,684
  • 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
  • hagopj13/node-express-boilerplateAvatar hagopj13

    hagopj13/node-express-boilerplate

    7,645Vezi pe GitHub↗

    This project is a production-ready template for building RESTful APIs using Node.js and the Express web framework. It provides a pre-configured structure for backend services, integrating a MongoDB Mongoose ODM framework for data modeling and a token-based security system for managing user identity. The boilerplate distinguishes itself through automated API documentation generated via Swagger by parsing code comments. It implements a layered controller architecture and a middleware-based request pipeline to separate routing logic from business logic and security processing. The system covers

    JavaScriptboilerplatees2018es6
    Vezi pe GitHub↗7,645
  • jazzband/djangorestframework-simplejwtAvatar jazzband

    jazzband/djangorestframework-simplejwt

    4,321Vezi pe GitHub↗

    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

    Python
    Vezi pe GitHub↗4,321
Vezi toate cele 30 alternative pentru Express Jwt→