Decision Workspace
nornir-auth-oidc vs ppoppo-sdk-core vs smg-auth
Side-by-side comparison of Rust crates
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.
Internal shared primitives for the Ppoppo SDK family (ppoppo-pas-external, ppoppo-pas-plims, ppoppo-pcs-external, ppoppo-pcs-session) — verifier port, audit trait, session liveness port, OIDC discovery, perimeter Bearer-auth Layer kit, identity types. Not a stable public API; do not depend on this crate directly. Consume the SDK crates that re-export from it (e.g. `ppoppo-pas-external`).
Authentication and authorization for control plane APIs
Core Metrics
| nornir-auth-oidc | ppoppo-sdk-core | smg-auth | |
|---|---|---|---|
| Health Score | 51 | 64 | 62 |
| Total Downloads | 239 | 1.9K | 1.8M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 7 | 259 | 20 |
| Releases | 5 | 52 | 8 |
| Last Updated | today | 1d ago | 45d ago |
| Age | 2m | 5m | 9m |
Health Breakdown
Technical Details
| nornir-auth-oidc | ppoppo-sdk-core | smg-auth | |
|---|---|---|---|
| Version | 0.1.4 | 0.54.0 | 1.2.3 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | Apache-2.0 |
| Dependencies | 14 | 32 | 15 |
| Crate Size | 55KB | 163KB | 35KB |
| Features | 3 | 13 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | — | 1.98 | — |
| Owners | 1 | 1 | 2 |
Links
Quick Verdict
- •ppoppo-sdk-core leads with a health score of 64/100, but none of the options score above 80.
- •smg-auth has the most downloads (1.8M), suggesting wider adoption.
- •ppoppo-sdk-core is depended on by 259 crates — strongest ecosystem trust.
- •nornir-auth-oidc, ppoppo-sdk-core are pre-1.0 — API may change.