Add test OIDC provider
This commit is contained in:
@ -89,7 +89,11 @@ pub struct AppConfig {
|
||||
pub reset_password_url: String,
|
||||
|
||||
/// URL where the OpenID configuration can be found
|
||||
#[arg(long, env, default_value = "url")]
|
||||
#[arg(
|
||||
long,
|
||||
env,
|
||||
default_value = "http://localhost:9001/.well-known/openid-configuration"
|
||||
)]
|
||||
pub oidc_configuration_url: String,
|
||||
|
||||
/// Disable OpenID authentication
|
||||
@ -101,11 +105,11 @@ pub struct AppConfig {
|
||||
pub oidc_provider_name: String,
|
||||
|
||||
/// OpenID client ID
|
||||
#[arg(long, env, default_value = "client")]
|
||||
#[arg(long, env, default_value = "foo")]
|
||||
pub oidc_client_id: String,
|
||||
|
||||
/// OpenID client secret
|
||||
#[arg(long, env, default_value = "secret")]
|
||||
#[arg(long, env, default_value = "bar")]
|
||||
pub oidc_client_secret: String,
|
||||
|
||||
/// OpenID login callback URL
|
||||
|
Reference in New Issue
Block a user