nornir-auth-oauth2
v0.1.1 ExperimentalOAuth 2.0 / 2.1 auth PROVIDER for the nordisk servers — verify a presented access token via RFC 7662 token introspection (SP side) and drive the service-to-service client-credentials grant + interactive authorization-code + PKCE flow. Beyond `nornir-auth-oidc`'s offline JWT-vs-JWKS: this covers opaque access tokens introspected against the IdP and the pure-OAuth2 M2M grant. Enables Entra ID / Okta / Auth0 / Google / AWS IAM Identity Center as OAuth providers. REUSES the `oauth2` crate (does NOT hand-roll the protocol). Implements the shared `nornir_service::AuthProvider` seam via `verify_bearer`. Feature-gated sub-crate: the HTTP-egress (`reqwest`) closure is linked ONLY when a tier pins `online` — the offline/mini bearer tier links none of it. Consumed by holger (reference impl), korp, dwarves.
Quick Verdict
- ✓Actively maintained (updated 53d ago)
- !Pre-1.0: API may have breaking changes
- ✓Permissive license (MIT OR Apache-2.0)
Security
Deep Insights
94 downloads in the last 30 days (3/day), up 74% from the previous period.
The primary maintainer publishes 296 crates. This suggests deep Rust expertise and long-term commitment to the ecosystem.
At 18KB, nornir-auth-oauth2 is lightweight. Small crate size correlates with focused, well-scoped functionality.
Health Breakdown
Recency, release consistency, active ratio
Yanked ratio, deps, size, maturity, features
Reverse deps, ownership, ecosystem
Downloads, momentum, growth trend
Docs, repo, license, metadata
Download Trend
Top Dependents
Most downloaded crates that depend on nornir-auth-oauth2