Rust Authorization

Open-source Rust projects categorized as Authorization

Missing quite a few other open source projects in this space like SuperTokens (https://supertokens.com) and Keycloak.

Top 14 Rust Authorization Projects

Authorization
  1. 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 :)

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. oso

    Deprecated: See README

  4. casbin-rs

    An authorization library that supports access control models like ACL, RBAC, ABAC in Rust.

  5. axum-login

    🪪 User identification, authentication, and authorization for Axum.

  6. exograph

    Build production-ready backends in minutes

  7. inspektor

    Inspektor is a protocol-aware proxy that is used to enforce access policies👮

  8. protect-endpoints

    Authorization extension for popular web-frameworks to protect your endpoints

  9. SaaSHub

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

    SaaSHub logo
  10. yup-oauth2

    An oauth2 client implementation providing the Device, Installed, Service Account, and several more flows.

  11. 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.

  12. auth-rs

    Authentication and authorization service, written in Rust

  13. fga-rs

    authorization/permission service, inspired by Google Zanzibar

  14. authzen

    A framework for easily integrating authorization into backend services.

  15. tower-biscuit-auth

    Integrating Biscuit authentication with the Tower ecosystem.

  16. yaml-adapter

    YAML Adapter for Casbin-RS

  17. 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 Authorization discussion

Log in or Post with

Rust Authorization related posts

  • Authorization is still a nightmare for engineers

    6 projects | news.ycombinator.com | 16 Apr 2024
  • Biscuit Authorization

    4 projects | news.ycombinator.com | 13 Dec 2023
  • Biscuit – an authorization token with offline attenuation

    1 project | news.ycombinator.com | 30 Oct 2023
  • Biscuit tokens 3.0 release! Decentralized authorization in Rust, wasm and a lot of other platforms

    2 projects | /r/rust | 4 Apr 2023
  • Show HN: Biscuit Security Authorization

    1 project | news.ycombinator.com | 28 Mar 2023
  • What's everyone working on this week (10/2023)?

    11 projects | /r/rust | 6 Mar 2023
  • Any source for learning JWT with .net corr

    2 projects | /r/dotnet | 3 Mar 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 14 May 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →

Index

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

# Project Stars
1 Ockam 4,531
2 oso 3,480
3 casbin-rs 951
4 axum-login 782
5 exograph 310
6 inspektor 282
7 protect-endpoints 230
8 yup-oauth2 229
9 biscuit-rust 214
10 auth-rs 14
11 fga-rs 13
12 authzen 3
13 tower-biscuit-auth 3
14 yaml-adapter 1

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

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