fix(configuration): missing valid keys (#3207)

This fixes an issue with three missing config keys.
pull/3206/head
James Elliott 2022-04-16 17:49:13 +10:00 committed by GitHub
parent de6d1698be
commit 5aa25ec275
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -327,6 +327,7 @@ var ValidKeys = []string{
"server.disable_healthcheck", "server.disable_healthcheck",
"server.tls.key", "server.tls.key",
"server.tls.certificate", "server.tls.certificate",
"server.tls.client_certificates",
"server.headers.csp_template", "server.headers.csp_template",
// TOTP Keys. // TOTP Keys.
@ -346,6 +347,7 @@ var ValidKeys = []string{
"webauthn.timeout", "webauthn.timeout",
// DUO API Keys. // DUO API Keys.
"duo_api.disable",
"duo_api.hostname", "duo_api.hostname",
"duo_api.enable_self_enrollment", "duo_api.enable_self_enrollment",
"duo_api.secret_key", "duo_api.secret_key",
@ -496,7 +498,7 @@ var ValidKeys = []string{
"identity_providers.oidc.minimum_parameter_entropy", "identity_providers.oidc.minimum_parameter_entropy",
"identity_providers.oidc.cors.endpoints", "identity_providers.oidc.cors.endpoints",
"identity_providers.oidc.cors.allowed_origins", "identity_providers.oidc.cors.allowed_origins",
"identity_providers.oidc.cors.enable_origins_from_clients", "identity_providers.oidc.cors.allowed_origins_from_client_redirect_uris",
"identity_providers.oidc.clients", "identity_providers.oidc.clients",
"identity_providers.oidc.clients[].id", "identity_providers.oidc.clients[].id",
"identity_providers.oidc.clients[].description", "identity_providers.oidc.clients[].description",