Rust Authentication

Open-source Rust projects categorized as Authentication

Top 23 Rust Authentication Projects

Authentication
  1. lldap

    Light LDAP implementation

    Project mention: March 2025 Java Key Updates in Boot, Security, and More | dev.to | 2025-03-24

    A new LLdapDockerComposeConnectionDetailsFactory class for Light LDAP Implementation for Authentication.

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. Ockam

    Orchestrate end-to-end encryption, cryptographic identities, mutual authentication, and authorization policies between distributed applications – at massive scale.

    Project mention: Autossh – automatically restart SSH sessions and tunnels | news.ycombinator.com | 2024-09-28

    May I suggest a tool built for application level portals instead?

    https://github.com/build-trust/ockam

    One binary, easy to use, no ssh getting stuck! (yep, I work at Ockam :)

  4. kanidm

    Kanidm: A simple, secure, and fast identity management platform

    Project mention: Kanidm: A simple, secure and fast identity management platform | news.ycombinator.com | 2024-06-10
  5. rust-jwt

    JWT lib in rust

  6. GlobalProtect-openconnect

    A GlobalProtect VPN client for Linux, written in Rust, based on OpenConnect and Tauri, supports SSO with MFA, Yubikey, and client certificate authentication, etc.

  7. sudo_pair

    Plugin for sudo that requires another human to approve and monitor privileged sudo sessions

  8. axum-login

    🪪 User identification, authentication, and authorization for Axum.

  9. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  10. rauthy

    OpenID Connect Single Sign-On Identity & Access Management

    Project mention: Rauthy: OpenID Connect Single Sign-On Identity and Access Management | news.ycombinator.com | 2025-04-06
  11. openidconnect-rs

    OpenID Connect Library for Rust

  12. internet-identity

    Internet Identity, a blockchain authentication system for the Internet Computer

  13. cotp

    Trustworthy, encrypted, command-line TOTP/HOTP authenticator app with import functionality.

  14. frank_jwt

    JSON Web Token implementation in Rust.

    Project mention: Verifying Cognito access tokens - Comparing three JWT packages for Lambda authorizers | dev.to | 2025-04-03

    The Lambda authorizer code decodes and verifies the token, and its business logic determines whether the request should proceed to the backend or be denied. Cognito access tokens are JSON Web Tokens (JWTs), and to simplify our coding, we might opt for an external package to handle token verification.

  15. biscuit-rust

    Rust implementation of the Biscuit authorization token

    Project mention: L402: The Missing Piece in the Internet's Payment Infrastructure | news.ycombinator.com | 2024-07-15

    Well, the answer is "I do not know"

    Now, if I had to guess, this are "a new kind of cookies" so they just took a name that went with it (like they did with biscuits https://www.biscuitsec.org/)

    There are many chances that they got he name wrong and they meant Macaron (with one O instead of two). Those are "layered" cookies, which bring some resemblance on how "caveats" can be understood.

  16. nforwardauth

    Simple and minimalist forward auth service intended for use with reverse proxies (Traefik, Caddy, nginx, etc)

  17. firestore-db-and-auth-rs

    Easy Rust access to your Google Firestore DB via service account or OAuth impersonated Google Firebase Auth credentials

  18. pam

    Safe Rust API to the Linux Pluggable Authentication Modules (PAM) (by 1wilkens)

  19. rocket_auth

    An implementation for an authentication API for Rocket applications.

  20. openid

    OpenID Connect Rust Library

  21. sspi-rs

    A Rust implementation of the Security Support Provider Interface (SSPI) API

  22. sqlx-adapter

    Asynchronous casbin adapter for mysql, postgres, sqlite based on sqlx-rs

  23. axum-casbin

    Axum authorization middleware based on Casbin

  24. winauth-rs

    Windows Authentication in Rust / SSO

  25. axum-shuttle-postgres-authentication-demo

    Full stack authenticated site built in Rust with Axum, Postgres and Shuttle

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Rust Authentication discussion

Log in or Post with

Rust Authentication related posts

Index

What are some of the best open-source Authentication projects in Rust? This list will help you:

# Project Stars
1 lldap 4,927
2 Ockam 4,523
3 kanidm 3,400
4 rust-jwt 1,807
5 GlobalProtect-openconnect 1,588
6 sudo_pair 1,248
7 axum-login 771
8 rauthy 580
9 openidconnect-rs 479
10 internet-identity 436
11 cotp 292
12 frank_jwt 252
13 biscuit-rust 215
14 nforwardauth 142
15 firestore-db-and-auth-rs 99
16 pam 86
17 rocket_auth 76
18 openid 69
19 sspi-rs 57
20 sqlx-adapter 54
21 axum-casbin 45
22 winauth-rs 28
23 axum-shuttle-postgres-authentication-demo 23

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you know that Rust is
the 5th most popular programming language
based on number of references?