oidc-rs

Crates.iooidc-rs
lib.rsoidc-rs
version0.1.1
sourcesrc
created_at2022-07-18 17:32:30.073484
updated_at2022-07-18 20:46:24.147977
descriptionA generic OIDC client
homepage
repositoryhttps://github.com/galenguyer/oidc-rs
max_upload_size
id627849
size13,525
Galen Guyer (galenguyer)

documentation

README

oidc-rs

Hopefully simple OIDC interactions. Designed for Computer Science House but hopefully useful for other people as well.

Currently, valid HTTPS is required for any OIDC requests. Insecure connections may be added behind a feature gate.

Configuration

The only configuration value is the base path for OIDC lookups. This can either be passed into OidcClient::new(base_path: &str) or provided in the environment as OIDC_BASE_PATH. The format of this should be akin to https://sso.example.com/auth/realms/master. Failure to set this will result in a panic at runtime.

Commit count: 2

cargo fmt