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
iaincollins avatar

iaincollins/next-auth

0
View on GitHub↗
28,272 stars·4,042 forks·TypeScript·ISC·25 viewsauthjs.dev↗

Next Auth

Next-auth is an authentication library and identity framework used to manage user sign-in and session state across web applications. It provides a system for handling user identity through OAuth, OpenID Connect, and passwordless sign-in flows.

The project features a multi-provider framework that integrates third-party identity services and custom directory backends. It supports passwordless authentication via email magic links or hardware keys and utilizes a database-agnostic storage layer to persist authentication states across different database types or in-memory.

Security is managed through a web session manager that employs encrypted session tokens and restrictive cookie policies. The framework includes CSRF security middleware to protect authentication routes and utilizes middleware for route guarding to verify session validity.

Features

  • Third-Party Authentication Providers - Integrates third-party identity providers via standardized OAuth2 authorization code flows.
  • Authentication Libraries - Provides a comprehensive library for implementing OAuth, OpenID Connect, and passwordless authentication.
  • Cookie Security - Secures session identifiers using encrypted payload data and restrictive cookie security flags.
  • JWT Session Management - Tracks user state using encrypted JSON Web Tokens stored in signed cookies to minimize database lookups.
  • Passwordless Authentication - Supports secure user access via email magic links and hardware keys to eliminate passwords.
  • OAuth Provider Integrations - Provides standardized interfaces for connecting user accounts to various OAuth-based authentication providers.
  • Identity Provider Backends - Offers an abstracted framework to connect authentication services to external directory services or internal databases.
  • Session Cookie Security - Implements encrypted session tokens and restrictive cookie policies to secure user identity across web runtimes.
  • Request Guards - Provides middleware to intercept requests and verify session validity before granting access to protected pages.
  • Session Management - Manages encrypted session tokens and secure cookie policies across various web runtimes.
  • User Identity Management - Handles user sign-in and session state across web applications to maintain consistent identity.
  • Session Management - Manages sign-in and session state across different web runtimes using standard web interfaces.
  • Authentication State Stores - Provides a flexible storage layer for persisting auth states across different database types or in-memory.
  • CSRF Protections - Includes a security layer that prevents cross-site request forgery through token verification on auth routes.
  • Stateful Session Persistence - Maintains browser context and authentication state across requests using database or memory storage.
  • External Database Persistence - Persists authentication states in external databases or operates in database-less mode to track sessions.
  • CSRF Protections - Protects against cross-site request forgery by validating secret tokens shared between client and server.
  • Web Application Security - Secures web applications by protecting sign-in routes from CSRF and encrypting session tokens.
  • Database Abstraction Layers - Implements a database abstraction layer to decouple authentication logic from specific storage engines.
  • Extensions and Plugins - Authentication library for serverless and standard deployments.

Star history

Star history chart for iaincollins/next-authStar history chart for iaincollins/next-auth

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

Open-source alternatives to Next Auth

Similar open-source projects, ranked by how many features they share with Next Auth.
  • 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
  • kanidm/kanidmkanidm avatar

    kanidm/kanidm

    4,595View on GitHub↗

    Kanidm is a centralized identity management server designed to handle authentication, authorization, and directory services across distributed infrastructure. It provides a comprehensive framework for managing human and service accounts, utilizing a schema-driven database to store identity records, group memberships, and system attributes. The platform supports a wide range of authentication methods, including passkeys, passwords, and standard protocols like OAuth2, OIDC, LDAP, and RADIUS. The system distinguishes itself through a granular access control engine that enforces security policies

    Rustauthenticationiamidentity
    View on GitHub↗4,595
  • zhangkaitao/shiro-examplezhangkaitao avatar

    zhangkaitao/shiro-example

    4,775View on GitHub↗

    This project is a reference implementation and a collection of code samples for deploying the Apache Shiro security framework within Java-based web applications. It serves as a demonstration for implementing authentication, authorization, and user identity management. The implementation features distributed session management to coordinate user states across multiple server instances for high availability. It also includes samples for third-party OAuth2 integration, enabling external account authentication, and single sign-on support to grant access to multiple related applications. The proj

    HTMLshiro
    View on GitHub↗4,775
  • steveiliop56/tinyauthsteveiliop56 avatar

    steveiliop56/tinyauth

    6,979View on GitHub↗

    Tinyauth is an authentication middleware service and identity provider that verifies user identities to grant system access. It operates as a standalone server or as an authentication gateway, utilizing a reverse proxy model to intercept requests and validate credentials before traffic reaches protected backend services. The project functions as an OpenID Connect provider for single sign-on experiences and an OAuth 2.0 gateway that delegates verification to external providers such as Google and GitHub. It also acts as an LDAP authentication server, allowing for centralized user management and

    Go2faauthenticationcaddy
    View on GitHub↗6,979
See all 30 alternatives to Next Auth→

Frequently asked questions

What does iaincollins/next-auth do?

Next-auth is an authentication library and identity framework used to manage user sign-in and session state across web applications. It provides a system for handling user identity through OAuth, OpenID Connect, and passwordless sign-in flows.

What are the main features of iaincollins/next-auth?

The main features of iaincollins/next-auth are: Third-Party Authentication Providers, Authentication Libraries, Cookie Security, JWT Session Management, Passwordless Authentication, OAuth Provider Integrations, Identity Provider Backends, Session Cookie Security.

What are some open-source alternatives to iaincollins/next-auth?

Open-source alternatives to iaincollins/next-auth include: teamhanko/hanko — Hanko is an open-source identity provider and customer identity and access management system. It serves as a passkey… kanidm/kanidm — Kanidm is a centralized identity management server designed to handle authentication, authorization, and directory… zhangkaitao/shiro-example — This project is a reference implementation and a collection of code samples for deploying the Apache Shiro security… steveiliop56/tinyauth — Tinyauth is an authentication middleware service and identity provider that verifies user identities to grant system… thoughtbot/clearance — Clearance is a Ruby on Rails authentication framework designed to manage user accounts, encrypted password storage,… vendurehq/vendure — Vendure is a Node.js e-commerce engine and headless commerce framework built with NestJS and TypeScript. It serves as…