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
·
dwyl avatar

dwyl/learn-json-web-tokens

0
View on GitHub↗
4,176 stele·245 fork-uri·JavaScript·MIT·3 vizualizări

Learn Json Web Tokens

Acest proiect este un tutorial tehnic și un ghid pentru implementarea gestionării identității utilizatorilor și a sesiunilor folosind JSON Web Tokens (JWT). Se concentrează pe construirea unui sistem de autentificare securizat care verifică identitățile utilizatorilor în aplicații web și mobile.

Materialul acoperă întregul ciclu de viață al securității bazate pe token-uri, inclusiv emiterea și validarea token-urilor de autentificare și gestionarea sesiunilor stateless. Oferă instrucțiuni privind menținerea sesiunilor persistente ale utilizatorilor prin stocare client-side și implementarea revocării sesiunilor pentru a invalida token-uri specifice sau pe toate cele active.

Detaliile de implementare includ utilizarea token-urilor criptografice semnate cu claims de identitate încorporate și timestamp-uri de expirare. De asemenea, abordează autenticitatea token-ului prin validarea semnăturii și utilizarea blacklisting-ului bazat pe baze de date pentru a suprascrie natura stateless pentru sesiunile invalidate.

Features

  • Authentication Tutorials - Provides a comprehensive technical guide and tutorial for implementing user identity and session management using JSON Web Tokens.
  • JWT Authentications - Provides a complete guide for implementing a secure login system using JSON Web Tokens.
  • Token and Session Management - Generates signed tokens containing user claims and expiration dates for session management.
  • JWT Session Management - Offers detailed instructions for the full lifecycle of JWT-based session management, including issuance, validation, and invalidation.
  • JWT Token Validators - Implements validation of JWT signatures and expiration to protect API endpoints.
  • Session Token Validation - Verifies the signature and expiration of tokens found in request headers to authorize users.
  • Token Blacklists - Implements a database-backed blacklist to revoke specific tokens and override the stateless nature of JWTs.
  • Token Invalidation - Allows marking individual tokens as invalid in a database to prevent further unauthorized access.
  • Stateless Session Management - Implements a session management architecture that avoids server-side state using signed tokens.
  • Token Authentication - Issues signed cryptographic tokens after authentication to verify user identity in subsequent requests.
  • Session Token Issuance - Provides logic for issuing signed session tokens to maintain user identity after successful authentication.
  • Token-Based Identity Verifications - Provides a technical walkthrough for confirming user identities using cryptographically signed tokens and client-side storage.
  • Stateless Token Validation - Implements stateless authentication by validating signed tokens locally without querying a session store.
  • Token Authenticity Verifications - Validates token signatures and timestamps to ensure requests originate from a trusted source.
  • Secure Client-Side Session Storages - Implements secure storage of tokens using HttpOnly and Secure cookie flags.
  • Hash-Based Signature Verifiers - Ensures token integrity through HMAC-based signature validation of the payload and secret.
  • Claim Struct Embeddings - Implements embedding of user metadata and expiration timestamps within the JWT payload to reduce database dependency.
  • Session-Cookie Persistences - Provides mechanisms for maintaining user sessions by persisting signed tokens in browser cookies.
  • Local Storage Token Persisters - Manages the saving and clearing of identity tokens within browser local storage.
  • Token Revocation - Implements mechanisms to invalidate active authentication tokens to force re-authentication or handle security breaches.
  • Expiring Tokens - Secures sessions by embedding expiration claims that automatically invalidate tokens after a set time.
  • JWT and Token Management - Educational resource for implementing JWT-based web security.

Istoric stele

Graficul istoricului de stele pentru dwyl/learn-json-web-tokensGraficul istoricului de stele pentru dwyl/learn-json-web-tokens

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 Learn Json Web Tokens

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu Learn Json Web Tokens.
  • 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
  • lucia-auth/luciaAvatar lucia-auth

    lucia-auth/lucia

    10,461Vezi pe GitHub↗

    Lucia is an authentication library that provides session management, OAuth integration, and password-based login for web applications. It creates and validates server-side sessions using cryptographically random tokens stored in HttpOnly, Secure, SameSite=Lax cookies, with constant-time token comparison to prevent timing side-channel attacks. The library supports authentication through email and password, GitHub OAuth, Google OAuth, and passkey-based sign-in. It enforces two-factor authentication using time-based one-time passwords (TOTP) from authenticator apps, generates recovery codes for

    authoauthtypescript
    Vezi pe GitHub↗10,461
  • netlify/gotrueAvatar netlify

    netlify/gotrue

    4,424Vezi pe GitHub↗

    GoTrue is a JWT identity provider and user management API. It functions as an OAuth 2.0 compliant server that handles user registration and authentication while issuing signed JSON Web Tokens to control access to protected API resources. The service integrates external identity providers to allow users to sign in using third-party accounts. It also includes an SMTP notification service for delivering password resets, signup confirmations, and account recovery emails. The system covers broader capabilities for user account management, including the ability to update user profiles and manage c

    Goauthenticationjwtproduction
    Vezi pe GitHub↗4,424
  • auth0/express-jwtAvatar auth0

    auth0/express-jwt

    4,512Vezi pe GitHub↗

    express-jwt is a middleware for Express applications that validates JSON Web Tokens to secure routes and authenticate requests. It functions as a security guard that verifies token signatures and expiration dates before allowing access to backend endpoints. The project provides a request credential extractor to retrieve tokens from headers, cookies, or query parameters. It supports dynamic key retrieval to fetch the necessary secrets or public keys at runtime based on request attributes or token headers. The middleware handles JSON Web Token validation, including token expiration handling an

    TypeScriptexpress-jwtjwt
    Vezi pe GitHub↗4,512
Vezi toate cele 30 alternative pentru Learn Json Web Tokens→

Întrebări frecvente

Ce face dwyl/learn-json-web-tokens?

Acest proiect este un tutorial tehnic și un ghid pentru implementarea gestionării identității utilizatorilor și a sesiunilor folosind JSON Web Tokens (JWT). Se concentrează pe construirea unui sistem de autentificare securizat care verifică identitățile utilizatorilor în aplicații web și mobile.

Care sunt principalele funcționalități ale dwyl/learn-json-web-tokens?

Principalele funcționalități ale dwyl/learn-json-web-tokens sunt: Authentication Tutorials, JWT Authentications, Token and Session Management, JWT Session Management, JWT Token Validators, Session Token Validation, Token Blacklists, Token Invalidation.

Care sunt câteva alternative open-source pentru dwyl/learn-json-web-tokens?

Alternativele open-source pentru dwyl/learn-json-web-tokens includ: jazzband/djangorestframework-simplejwt — This is a JSON Web Token authentication package for the Django REST Framework that manages stateless user identities.… lucia-auth/lucia — Lucia is an authentication library that provides session management, OAuth integration, and password-based login for… netlify/gotrue — GoTrue is a JWT identity provider and user management API. It functions as an OAuth 2.0 compliant server that handles… auth0/express-jwt — express-jwt is a middleware for Express applications that validates JSON Web Tokens to secure routes and authenticate… jwt/ruby-jwt — This is a Ruby implementation library for encoding, decoding, and verifying JSON Web Tokens according to the RFC 7519… dunglas/mercure — Mercure is an HTTP-based message broker and real-time pub/sub server that routes asynchronous data updates to…