#openid-connect #relying-party #tiny #openid #oidc

tiny-oidc-rp

Tiny OpenID Connect Relying Party

4 releases

Uses new Rust 2024

0.2.1 May 7, 2025
0.2.0 May 4, 2025
0.1.1 Jan 5, 2022
0.1.0 Jan 1, 2022

#367 in Authentication

Download history 2/week @ 2025-02-14 214/week @ 2025-05-02 66/week @ 2025-05-09 5/week @ 2025-05-16

104 downloads per month

MIT license

48KB
780 lines

OpenID connect relaying party implementation

See examples


tiny-oidc-rp: Tiny OpenID Connect Relying Party

crates.io API docs

tiny-oidc-rp is a Rust implementation of OpenID Connect relying party. This crate is intended for server-side implementation and it supports code flow only. I have no plan to support implicit flow nor WASM on web frontend.

Expected use

You can make your site "Sign in with <some social ID>"

  • To implement web site for small group authentication with Google ID.
  • To implement intranet web service authentication with Microsoft Azure Entra ID.
  • etc.

Usage

See examples .

Dependencies

~5–17MB
~230K SLoC