Crates.io | oidc-rs |
lib.rs | oidc-rs |
version | 0.1.1 |
source | src |
created_at | 2022-07-18 17:32:30.073484 |
updated_at | 2022-07-18 20:46:24.147977 |
description | A generic OIDC client |
homepage | |
repository | https://github.com/galenguyer/oidc-rs |
max_upload_size | |
id | 627849 |
size | 13,525 |
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.
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.