Start to implement OpenID authentication

This commit is contained in:
2024-04-25 19:25:08 +02:00
parent 48f24e6ca1
commit d8946eb462
12 changed files with 427 additions and 6 deletions

View File

@ -33,9 +33,9 @@ pub struct AppConfig {
)]
pub oidc_configuration_url: String,
/// Disable OpenID authentication
/// Disable authentication (for development purposes ONLY)
#[arg(long, env)]
pub disable_oidc: bool,
pub unsecure_disable_login: bool,
/// OpenID client ID
#[arg(long, env, default_value = "foo")]