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

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
vvo avatar

vvo/iron-session

0
View on GitHub↗
4,130 stars·255 forks·TypeScript·MIT·12 viewsget-iron-session.vercel.app↗

Iron Session

iron-session is a stateless session management library for JavaScript that stores encrypted and signed session data directly in browser cookies. It functions as authentication middleware to verify user identity without requiring a server-side database or network lookups for session retrieval.

The project provides a symmetric key encryption tool that supports versioned password rotation. This allows encryption keys to be updated across a system without invalidating active user sessions.

Beyond session management, the library includes utilities to seal arbitrary data objects into secure signed strings and unseal them to ensure content has not been tampered with. These capabilities support the generation of secure tokens and magic login links.

Features

  • Cookie-Based Session Management - Implements session management by storing encrypted and signed data directly in browser cookies.
  • Stateless Session Management - Implements a stateless session system that stores encrypted data in cookies to eliminate server-side database lookups.
  • Cookie-Based Stores - Uses cookies as stores for encrypted application state to prevent client-side tampering.
  • Cryptographic Signing Methods - Provides cryptographic signing to ensure the integrity and authenticity of session data.
  • Digital Message Signing - Produces cryptographic signatures for session data to prevent tampering.
  • Cookie-Based Session Storage - Provides a storage mechanism that persists application state in the browser using symmetric encryption and signing.
  • Session & Cookie Handlers - Handles the reading and setting of encrypted browser cookies to persist user state.
  • Session Cookie Authentications - Uses encrypted browser cookies as a secure storage mechanism to maintain user sessions.
  • Symmetric Encryption - Uses symmetric encryption with a shared secret to maintain session data confidentiality.
  • Stateless Architectures - Enables request processing without server-side session state by decoding data from cookies.
  • Authentication Middlewares - Provides authentication middleware for JavaScript applications to verify identity via cryptographically sealed cookies.
  • Cryptographic Data Sealing - Combines encryption and signing to seal arbitrary data objects into secure strings for tokens.
  • Cryptographic Unsealing - Verifies signed strings to decode original data and ensure it has not been tampered with.
  • Versioned Password Rotation - Supports versioned password rotation to update encryption keys without forcing active users to re-authenticate.
  • Versioned Key Rotations - Supports updating encryption keys using a versioned history to avoid invalidating active sessions.
  • Session Lifecycle Management - Manages the creation, rotation, and expiration of cryptographically secured sessions.
  • User Session Termination - Provides the ability to programmatically terminate user sessions by removing the session cookie.
  • Token Generation - Generates cryptographically secure encrypted strings for use in magic links and access tokens.
  • Authentication Workflows - Provides a secure authentication and state persistence workflow specifically for Next.js applications.

Star history

Star history chart for vvo/iron-sessionStar history chart for vvo/iron-session

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does vvo/iron-session do?

iron-session is a stateless session management library for JavaScript that stores encrypted and signed session data directly in browser cookies. It functions as authentication middleware to verify user identity without requiring a server-side database or network lookups for session retrieval.

What are the main features of vvo/iron-session?

The main features of vvo/iron-session are: Cookie-Based Session Management, Stateless Session Management, Cookie-Based Stores, Cryptographic Signing Methods, Digital Message Signing, Cookie-Based Session Storage, Session & Cookie Handlers, Session Cookie Authentications.

What are some open-source alternatives to vvo/iron-session?

Open-source alternatives to vvo/iron-session include: vvo/next-iron-session — next-iron-session is a session management library for Next.js applications that stores encrypted user state in secure… teamhanko/hanko — Hanko is an open-source identity provider and customer identity and access management system. It serves as a passkey… lipp/login-with — Login-with is a centralized authentication gateway designed to decouple identity verification from individual… netlify/gotrue — GoTrue is a JWT identity provider and user management API. It functions as an OAuth 2.0 compliant server that handles… fpereiro/backendlore — Backendlore is a collection of architectural guides and patterns for building stateless JSON HTTP APIs using Node.js.… binarylogic/authlogic — Authlogic is a Ruby authentication framework designed to manage user identities, session persistence, and secure…

Open-source alternatives to Iron Session

Similar open-source projects, ranked by how many features they share with Iron Session.
  • vvo/next-iron-sessionvvo avatar

    vvo/next-iron-session

    4,125View on GitHub↗

    next-iron-session is a session management library for Next.js applications that stores encrypted user state in secure browser cookies. This system enables stateless session management, allowing applications to maintain user identity without requiring a server-side database for session tracking. The project provides utilities for securing data payloads through symmetric-key encryption and signing, including support for versioned encryption key rotation. It includes tools for implementing passwordless authentication via secure one-time magic links and integrating external identity providers thr

    TypeScript
    View on GitHub↗4,125
  • teamhanko/hankoteamhanko avatar

    teamhanko/hanko

    8,801View on GitHub↗

    Hanko is an open-source identity provider and customer identity and access management system. It serves as a passkey authentication service and an OAuth and SAML SSO gateway, allowing applications to authenticate users and issue tokens via standard identity protocols. The project distinguishes itself through a strong focus on passwordless access using WebAuthn-based passkeys and email-based passcodes. It provides framework-agnostic authentication interfaces as customizable web components that can be embedded directly into web applications to handle login, registration, and profile management.

    Go2faauthenticationciam
    View on GitHub↗8,801
  • lipp/login-withlipp avatar

    lipp/login-with

    2,340View on GitHub↗

    Login-with is a centralized authentication gateway designed to decouple identity verification from individual application services. It functions as a stateless microservice that orchestrates user login and logout flows by integrating with external identity providers. The project distinguishes itself through its ability to manage user sessions across multiple subdomains. By issuing encrypted, domain-wide cookies, it maintains consistent user state and profile information as users navigate between different parts of a distributed web architecture. The service handles the full lifecycle of user

    JavaScriptdockerfacebookgoogle
    View on GitHub↗2,340
  • binarylogic/authlogicbinarylogic avatar

    binarylogic/authlogic

    4,343View on GitHub↗

    Authlogic is a Ruby authentication framework designed to manage user identities, session persistence, and secure password hashing. It provides a system for verifying user credentials against stored records using configurable identity fields. The framework distinguishes itself through its provider-based identity integration, allowing applications to connect authentication flows to external services including OAuth, OpenID Connect, LDAP, and various social media platforms. It also includes an extensibility model that executes custom user-defined code via hooks and callbacks during identity veri

    Ruby
    View on GitHub↗4,343
  • See all 30 alternatives to Iron Session→

    Curated searches featuring Iron Session

    Hand-picked collections where Iron Session appears.
    • an open source password manager for accounts