Decision Workspace
rskit-auth vs smg-auth vs nornir-auth-oidc
Side-by-side comparison of Rust crates
JWT, OIDC, password hashing, and request-context auth helpers
Authentication and authorization for control plane APIs
OIDC / OAuth2 auth PROVIDER for the nordisk servers — validate a bearer JWT OFFLINE against a cached/pre-provisioned JWKS (airgap), or an opaque token ONLINE via /userinfo, plus the device-authorization-grant (RFC 8628) flow for interactive CLI login. Covers Entra ID / Okta / Auth0 / Google / Keycloak / Zitadel through the one protocol. Implements the shared `nornir_service::AuthProvider` seam. Feature-gated sub-crate: the jsonwebtoken/JWKS closure is linked ONLY when a tier pins `oidc` (the embedded/mini bearer-only tier links none of it). Consumed by holger (reference impl), korp, dwarves + the shared `nornir-auth-client` login.
Core Metrics
| rskit-auth | smg-auth | nornir-auth-oidc | |
|---|---|---|---|
| Health Score | 57 | 62 | 51 |
| Total Downloads | 178 | 1.8M | 239 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 12 | 20 | 7 |
| Releases | 7 | 8 | 5 |
| Last Updated | 54d ago | 45d ago | today |
| Age | 3m | 9m | 2m |
Health Breakdown
Technical Details
| rskit-auth | smg-auth | nornir-auth-oidc | |
|---|---|---|---|
| Version | 0.2.0-alpha.4 | 1.2.3 | 0.1.4 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 26 | 15 | 14 |
| Crate Size | 60KB | 35KB | 55KB |
| Features | 3 | 0 | 3 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | 1.91 | — | — |
| Owners | 1 | 2 | 1 |
Links
Quick Verdict
- •smg-auth leads with a health score of 62/100, but none of the options score above 80.
- •rskit-auth, nornir-auth-oidc are pre-1.0 — API may change.