SaaSHub helps you find the best software and product alternatives Learn more →
Top 12 Rust Authorization Projects
-
Ockam
Orchestrate end-to-end encryption, cryptographic identities, mutual authentication, and authorization policies between distributed applications – at massive scale.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
casbin-rs
An authorization library that supports access control models like ACL, RBAC, ABAC in Rust.
-
yup-oauth2
An oauth2 client implementation providing the Device, Installed, Service Account, and several more flows.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
disclosure: I work at Ockam.
The Portals for Mac app is an example of the type of thing you could build using the open source stack of protocols. The README (linked by parent) links out to all of the relevant parts of the protocol documentation to explain how these work together. The NAT Traversal (https://github.com/build-trust/ockam/blob/develop/examples/a...) part of the README is probably the best explanation of why the free relay you get via Ockam Orchestrator is a useful part of this demo.
As for why would anyone trust this: The protocols are designed so you absolutely don't have to trust the relay. Trust is pushed out to the edges that you control and so you're not susceptible to a MITM attack if something like a relay is compromised. The protocol design for all of this is open and documented, and was independently audited by (IMO) some of the best in the business, Trail of Bits: https://docs.ockam.io/reference/protocols.
Link to GitHub -->
Project mention: Authorization is still a nightmare for engineers | news.ycombinator.com | 2024-04-16> We have a post on this coming soon! The short version is that Polar is a logic language based on Prolog/Datalog/miniKanren. And logic languages are a particularly good fit for representing the branching conditional logic you often see in authorization configurations.
Ha, I've been playing around with Biscuits (https://www.biscuitsec.org/) and was writing up a blog post on using them in a git forge. When I saw the Polar data units described as "facts" and read your end to end example (https://www.osohq.com/docs/tutorials/end-to-end-example) I thought "Oh this looks very similar". I will say - I do like how Polar seems to type stuff and provide some concepts that Biscuits force you to build out on your own, that's pretty neat.
What is the proof of identity in Polar? Is it something like a token in Biscuits? I'm curious if you can do things like add caveats to reduce what the token is capable of as it gets handed off to different systems. I consider that one of the "killer use cases" of biscuits.
Project mention: Significant update within the `*-grants` ecosystem: crates to protect endpoints in widely used web frameworks. | /r/rust | 2023-12-01
Project mention: Rauthy OIDC v0.19 — Better support for Solid and Matrix | /r/SelfhostingHub | 2023-11-18
Project mention: Feedback on authorization and authentication API using Actix web | /r/rust | 2023-08-18
Rust Authorization related posts
- Authorization is still a nightmare for engineers
- Biscuit Authorization
- Biscuit – an authorization token with offline attenuation
- Biscuit tokens 3.0 release! Decentralized authorization in Rust, wasm and a lot of other platforms
- Show HN: Biscuit Security Authorization
- What's everyone working on this week (10/2023)?
- Any source for learning JWT with .net corr
-
A note from our sponsor - SaaSHub
www.saashub.com | 26 Apr 2024
Index
What are some of the best open-source Authorization projects in Rust? This list will help you:
Project | Stars | |
---|---|---|
1 | Ockam | 4,347 |
2 | oso | 3,403 |
3 | casbin-rs | 788 |
4 | inspektor | 278 |
5 | yup-oauth2 | 204 |
6 | biscuit-rust | 201 |
7 | protect-endpoints | 169 |
8 | rauthy | 165 |
9 | auth-rs | 8 |
10 | fga-rs | 4 |
11 | tower-biscuit-auth | 3 |
12 | authzen | 2 |
Sponsored