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

Passkey and Passwordless Authentication Libraries

Ranking updated Jun 30, 2026

For a passkey authentication library, the first results are pocket-id/pocket-id, lucia-auth/lucia (Lucia is a server-side authentication library that directly supports passkey WebAuthn sign-in and session management, making it a good fit for integrating passwordless authentication into web apps, though it does not provide native mobile client SDKs or magic-link/OTP fallback) and teamhanko/hanko (Hanko is a self-hostable passkey authentication service and CIAM system that provides WebAuthn/FIDO2-based passwordless login, email passcode fallback, and embeddable web components, making it a comprehensive solution for adding passkey authentication to your application). stack-auth/stack-auth and iaincollins/next-auth round out the shortlist. Compare the match explanations and check the project documentation against your requirements.

Implement secure, modern authentication flows using FIDO2, WebAuthn, and passwordless login standards in your applications.

Passkey and Passwordless Authentication Libraries

Find the best repos with AI.We'll search the best matching repositories with AI.
  • pocket-id/pocket-idpocket-id avatar

    pocket-id/pocket-id

    8,185View on GitHub↗

    Pocket ID is a self-hosted OpenID Connect (OIDC) identity provider that replaces traditional passwords with passkey-based authentication using WebAuthn public-key cryptography. It runs as a standalone service on user-managed infrastructure, eliminating shared secrets entirely by authenticating users through passkeys instead of passwords. The project distinguishes itself through security-hardened deployment patterns, including distroless container images, non-root user execution, and read-only root filesystems to reduce the attack surface. It supports configurable token signing algorithms (RSA

    Pocket ID is a self-hosted OpenID Connect provider that uses WebAuthn passkeys for passwordless login, so you can integrate it into your app via OIDC flows — but it is a standalone service rather than an embeddable SDK and lacks cross-platform client libraries and magic link fallback.

    GoPasskey AuthenticationWebAuthn AuthenticationsPasskey-Based
    View on GitHub↗8,185
  • lucia-auth/lucialucia-auth avatar

    lucia-auth/lucia

    10,461View on 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

    Lucia is a server-side authentication library that directly supports passkey (WebAuthn) sign-in and session management, making it a good fit for integrating passwordless authentication into web apps, though it does not provide native mobile client SDKs or magic-link/OTP fallback.

    Authentication LibrariesPasskey Authentication
    View on GitHub↗10,461
  • 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.

    Hanko is a self-hostable passkey authentication service and CIAM system that provides WebAuthn/FIDO2-based passwordless login, email passcode fallback, and embeddable web components, making it a comprehensive solution for adding passkey authentication to your application.

    GoPasskey AuthenticationWebAuthn Registrations
    View on GitHub↗8,801
  • stack-auth/stack-authstack-auth avatar

    stack-auth/stack-auth

    6,699View on GitHub↗

    Stack Auth is an open-source authentication and authorization platform that provides pre-built UI components, OAuth integration, team management, and session handling for web applications. It offers a complete authentication lifecycle covering sign-in, sign-up, session management, password recovery, and multi-factor security, with support for passkey authentication and OAuth providers including Google, GitHub, and Apple. The platform includes a team-based permission system with role-based access control, allowing users to be organized into teams with granular permissions for membership manage

    Stack Auth is a full-featured authentication platform that supports passkey and magic-link passwordless flows, making it a solid choice for adding passwordless auth to web applications, though its mobile client SDK support isn't emphasized.

    TypeScriptOAuth Token ExchangesPasskey Authentication
    View on GitHub↗6,699
  • iaincollins/next-authiaincollins avatar

    iaincollins/next-auth

    28,272View on GitHub↗

    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 thro

    Next-auth is an embeddable authentication library that supports passwordless login via email magic links and hardware keys, making it a solid fit for adding passwordless auth to web applications, though its WebAuthn/passkey support is not its primary focus and it lacks cross-platform client SDKs.

    TypeScriptSession Management
    View on GitHub↗28,272
  • go-webauthn/webauthngo-webauthn avatar

    go-webauthn/webauthn

    1,284View on GitHub↗

    This library provides a backend framework for implementing FIDO2-compliant authentication and passwordless login flows in Go applications. It serves as a server-side toolkit for managing hardware-backed identity verification, enabling developers to integrate secure, browser-based authentication protocols that utilize security keys and biometric sensors. The project distinguishes itself by offering comprehensive tools for credential lifecycle management and hardware attestation. It handles the registration and storage of public key metadata while enforcing strict security requirements, such as

    This Go library implements the WebAuthn and FIDO2/Passkey standards to add passwordless authentication to your backend, but it does not include client SDKs or fallback methods like magic links.

    GoPasskey AuthenticationWebAuthn Authentications
    View on GitHub↗1,284
  • duo-labs/webauthnduo-labs avatar

    duo-labs/webauthn

    1,032View on GitHub↗

    This library provides a server-side implementation for the WebAuthn standard, enabling developers to integrate FIDO2-compliant authentication into applications. It functions as a toolkit for managing public-key infrastructure, allowing systems to verify user identity through hardware-backed cryptographic signatures rather than traditional passwords. The framework facilitates the entire credential lifecycle, from the initial registration of security keys and biometric devices to the ongoing validation of authentication attempts. It handles the generation and verification of challenge-response

    This is a Go server-side library focused solely on WebAuthn/FIDO2 for passwordless authentication, which fits the core need for a passkey SDK, but it does not include magic link fallback, client SDKs for iOS/Android/Web, or a full self-hosted server with session management out of the box.

    GoWebAuthn Server LibrariesChallenge-Response VerificationsCredential Registrations
    View on GitHub↗1,032
  • firebase/firebaseui-webfirebase avatar

    firebase/firebaseui-web

    4,866View on GitHub↗

    firebaseui-web is a library of pre-built web interface components for managing sign-in and identity flows using the Firebase SDK. It provides a customizable suite of themed and localized UI elements for user registration, password recovery, and account onboarding. The library supports a wide range of authentication methods, including traditional email and password, passwordless email sign-in, and phone-based verification with reCAPTCHA handling. It integrates third-party identity providers through OAuth, OIDC, and SAML standards, offering both popup and redirect strategies along with Google O

    This library provides pre-built UI components for Firebase Authentication, including passwordless email sign-in, but lacks WebAuthn/passkey support and is tied to Firebase's cloud backend, so it does not deliver the self-hostable passkey SDK this search asks for.

    TypeScriptPasswordless Email FlowsPasswordless Email Interfaces
    View on GitHub↗4,866
  • supertokens/supertokens-coresupertokens avatar

    supertokens/supertokens-core

    14,922View on GitHub↗

    SuperTokens Core is an open-source, self-hosted authentication and identity management platform designed for deployment within private infrastructure. It provides a comprehensive suite for managing user accounts, roles, and secure authentication flows, utilizing a modular, recipe-based architecture that allows developers to enable specific security features without modifying the core codebase. The platform distinguishes itself through its robust multi-tenancy capabilities, which allow for the logical or physical isolation of user records and configuration settings across different organizatio

    SuperTokens Core is a self-hosted authentication platform supporting passwordless flows like email OTP and magic links, but it does not explicitly mention WebAuthn/FIDO2 passkey support, which is the key requirement for this search.

    JavaMagic LinkPasskey AuthenticationWebAuthn Registrations
    View on GitHub↗14,922
  • azukaar/cosmos-serverazukaar avatar

    azukaar/Cosmos-Server

    5,980View on GitHub↗

    Cosmos-Server is a self-hosted server platform that combines an authentication gateway, a reverse proxy with dynamic rate limiting, and a Docker container orchestrator into a single management interface. It provides automatic HTTPS certificate management with wildcard support through DNS challenges, and secures self-hosted applications with token-based session management and plugin-based authentication middleware. The platform distinguishes itself by integrating these capabilities into a unified system where the reverse proxy enforces authentication, rate limiting, and TLS termination before

    Cosmos-Server is a self-hosted authentication gateway and reverse proxy for managing access to multiple apps, but it is not a library or SDK you embed into your own application for passwordless login, and it shows no explicit support for WebAuthn/FIDO2 or passkeys.

    JavaScriptSelf-Hosted Authentication Gateways
    View on GitHub↗5,980
  • sahat/satellizersahat avatar

    sahat/satellizer

    7,801View on GitHub↗

    Satellizer is an authentication library for AngularJS applications designed to manage user sign-in and session persistence using security tokens. It functions as a client-side implementation for exchanging credentials for tokens and attaching authorization headers to network requests. The library handles identity integration through a token manager that supports both email-based authentication and external OAuth providers. It enables the authorization of users via third-party services using secure popup windows and allows for linking or unlinking external accounts to a user profile. The proj

    Satellizer is a token-based OAuth/social authentication library for AngularJS, not a WebAuthn/FIDO2 passwordless or passkey SDK, so it does not provide the core passkey or magic-link functionality this search requires.

    TypeScriptAuthentication Libraries
    View on GitHub↗7,801
  • better-auth/better-authbetter-auth avatar

    better-auth/better-auth

    28,736View on GitHub↗

    This project is a modular authentication framework designed to manage user identity, session tracking, and access control across web applications. It provides a unified solution for handling email-based credentials and social identity federation, allowing developers to implement secure login and registration flows that maintain consistent user states across client and server environments. The system utilizes a plugin-based architecture and middleware-driven request interception to allow for the extension of core authentication logic. It features type-safe schema generation, which derives data

    Better Auth is a modular authentication framework focused on email and social login via OAuth/OIDC, but it does not appear to support WebAuthn/FIDO2, passkeys, or magic links — the core capabilities this search requires for passwordless authentication.

    TypeScriptSession Management
    View on GitHub↗28,736
Compare the top 10 at a glance
RepositoryStarsLanguageLicenseLast push
pocket-id/pocket-id8.2KGoBSD-2-ClauseJun 23, 2026
lucia-auth/lucia10.5K—0BSDJul 13, 2025
teamhanko/hanko
8.8K
Go
other
Feb 19, 2026
stack-auth/stack-auth6.7KTypeScriptotherFeb 19, 2026
iaincollins/next-auth28.3KTypeScriptISCJun 12, 2026
go-webauthn/webauthn1.3KGoBSD-3-ClauseJun 7, 2026
duo-labs/webauthn1KGoBSD-3-ClauseDec 5, 2022
firebase/firebaseui-web4.9KTypeScriptApache-2.0Jun 25, 2026
supertokens/supertokens-core14.9KJavaotherFeb 19, 2026
azukaar/cosmos-server6KJavaScriptNOASSERTIONMay 26, 2026

Related searches

  • an authentication library for web applications
  • an Auth0 alternative
  • a multi-factor authentication library
  • a zero-knowledge proof toolkit
  • a self hosted password manager for credentials
  • a post-quantum crypto library
  • a self-hosted password vault
  • a self hosted password manager for credentials