rustio rustio.net
47

nornir-auth-oauth2

v0.1.1 Experimental

OAuth 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.

MIT OR Apache-2.0 Edition 2021
AuthenticationNetwork programming #oauth2#auth#introspection#sso#pkce

Quick Verdict

  • ✓Actively maintained (updated 53d ago)
  • !Pre-1.0: API may have breaking changes
  • ✓Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
162
Dependents
5
Releases
2
Size
19KB

Deep Insights

📈
Strong growth momentum

94 downloads in the last 30 days (3/day), up 74% from the previous period.

👤
Prolific maintainer

The primary maintainer publishes 296 crates. This suggests deep Rust expertise and long-term commitment to the ecosystem.

📐
Compact crate

At 18KB, nornir-auth-oauth2 is lightweight. Small crate size correlates with focused, well-scoped functionality.

Health Breakdown

Maintenance 11/25

Recency, release consistency, active ratio

Quality 15/25

Yanked ratio, deps, size, maturity, features

Community 8/20

Reverse deps, ownership, ecosystem

Popularity 3/15

Downloads, momentum, growth trend

Documentation 10/15

Docs, repo, license, metadata

Download Trend

Daily downloads · last 90 days
0/day avg
08/229/99/2710/1511/211/19

Top Dependents

Most downloaded crates that depend on nornir-auth-oauth2

Version Adoption

v0.1.1
87%
v0.1.0
13%

Release Timeline

2 releasessince 2026
J
F
M
A
M
J
J
A
S
O
N
D
2026
2
Less
More

Feature Flags

online

README

Loading README...

Maintainers

Dependencies
7
direct dependencies
Dependents
5
crates depend on nornir-auth-oauth2

Similar Crates