Decision Workspace
nornir-auth-saml vs saml vs nestrs-saml
Side-by-side comparison of Rust crates
SAML 2.0 (enterprise SSO) auth PROVIDER for the nordisk servers — SP-side validation of a signed SAML assertion / response (HTTP-POST binding): cryptographically verify the XML-DSIG signature against the configured IdP certificate, check the conditions, and map the subject NameID to an identity. Enables ADFS / Entra ID / Okta / Ping SAML estates. Implements the shared `nornir_service::AuthProvider` seam via the `verify_saml_assertion` credential-shape method. REUSES the `samael` crate for the XML-DSIG crypto (does NOT hand-roll). HARD feature-gated: samael pulls the heavy native `xmlsec1` / `libxml2` / `openssl` stack, so it rides ONLY behind the off-by-default `saml` feature — the mini/embedded/airgap tiers link NONE of it and the provider fails closed without it. Consumed by holger (reference impl), korp, dwarves.
Stateless, async-native SAML 2.0 toolkit with no libxml2/xmlsec C build chain
SAML 2.0 service-provider adapter for nestrs (NestJS passport-saml analogue).
Core Metrics
| nornir-auth-saml | saml | nestrs-saml | |
|---|---|---|---|
| Health Score | 45 | 61 | 49 |
| Total Downloads | 47 | 3.8K | 46 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 0 |
| Releases | 3 | 4 | 4 |
| Last Updated | today | 5d ago | 10d ago |
| Age | 2m | 4m | 22d |
Health Breakdown
Technical Details
| nornir-auth-saml | saml | nestrs-saml | |
|---|---|---|---|
| Version | 0.1.2 | 0.1.0-alpha.1 | 1.6.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 12 | 34 | 2 |
| Crate Size | 73KB | 534KB | 7KB |
| Features | 4 | 12 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | — | 1.91.0 | 1.88 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •saml leads with a health score of 61/100, but none of the options score above 80.
- •nornir-auth-saml, saml are pre-1.0 — API may change.