Sign in Sign up
cargo

nornir-auth-oauth2

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.

cargo View on Cargo

Activity

Latest release
4w ago
Total releases
2
Cadence
~12 days
Last 12 months
2

Reach

Downloads
17

Details

License
MIT OR Apache-2.0
First release
Aug 05, 2026
Releases
Version Released
0.1.1 patch
0.1.0 initial