2 releases

0.1.1 Jul 18, 2022
0.1.0 Jul 18, 2022

#4 in #house

MIT license

11KB
222 lines

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.

Dependencies

~1–12MB
~161K SLoC