oidc-rp
OpenID Connect relying party for a backend-for-frontend: PKCE sign-in, ES256 ID-token checks and opaque browser-session cookies.
Built and tested in the harness, and not in the public repository yet. The install line and the source link appear here when it is.
What it is
oidc-rp.
An OpenID Connect relying party for a backend that holds the browser session. The backend is a public client (PKCE, no client secret) of one issuer, and the browser never receives an OIDC token. The crate covers discovery parsing, the PKCE S256 authorization URL with state and nonce, JWKS parsing for P-256 keys, and ID-token verification (ES256 only, with checks on iss, aud, exp, nonce and sub). It also builds the sealed sign-in value and opaque, HttpOnly session cookies. Time, randomness and HTTP come from the caller, and the sign-in flow itself belongs to the app.
From the crate’s own README.
History
Changelog.
Not released yet. Its changelog starts with its first release.
One of 95 crates in the harness, all of them MIT.