From d365d5fc4155a408bf4cc1d25384495bbfde784b Mon Sep 17 00:00:00 2001
From: mikolajtkaczyk64 <112934589+mikolajtkaczyk64@users.noreply.github.com>
Date: Tue, 17 Sep 2024 12:46:55 +0200
Subject: [PATCH] doc: fix toml key for provider ca certs (#2780)
* Fixed toml key of --provider-ca-file flag
---
 docs/docs/configuration/overview.md                         | 2 +-
 docs/versioned_docs/version-7.6.x/configuration/overview.md | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/docs/configuration/overview.md b/docs/docs/configuration/overview.md
index c7484c0a..47da7e07 100644
--- a/docs/docs/configuration/overview.md
+++ b/docs/docs/configuration/overview.md
@@ -99,7 +99,7 @@ Provider specific options can be found on their respective subpages.
 | flag: `--oidc-jwks-url`
toml: `oidc_jwks_url`                                                   | string         | OIDC JWKS URI for token verification; required if OIDC discovery is disabled                                                                                                              |                       |
 | flag: `--profile-url`
toml: `profile_url`                                                       | string         | Profile access endpoint                                                                                                                                                                   |                       |
 | flag: `--prompt`
toml: `prompt`                                                                 | string         | [OIDC prompt](https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest); if present, `approval-prompt` is ignored                                                                | `""`                  |
-| flag: `--provider-ca-file`
toml: `provider_ca_file`                                             | string \| list | Paths to CA certificates that should be used when connecting to the provider. If not specified, the default Go trust sources are used instead.                                            |
+| flag: `--provider-ca-file`
toml: `provider_ca_files`                                             | string \| list | Paths to CA certificates that should be used when connecting to the provider. If not specified, the default Go trust sources are used instead.                                            |
 | flag: `--provider-display-name`
toml: `provider_display_name`                                   | string         | Override the provider's name with the given string; used for the sign-in page                                                                                                             | (depends on provider) |
 | flag: `--provider`
toml: `provider`                                                             | string         | OAuth provider                                                                                                                                                                            | google                |
 | flag: `--pubjwk-url`
toml: `pubjwk_url`                                                         | string         | JWK pubkey access endpoint: required by login.gov                                                                                                                                         |                       |
diff --git a/docs/versioned_docs/version-7.6.x/configuration/overview.md b/docs/versioned_docs/version-7.6.x/configuration/overview.md
index c7484c0a..47da7e07 100644
--- a/docs/versioned_docs/version-7.6.x/configuration/overview.md
+++ b/docs/versioned_docs/version-7.6.x/configuration/overview.md
@@ -99,7 +99,7 @@ Provider specific options can be found on their respective subpages.
 | flag: `--oidc-jwks-url`
toml: `oidc_jwks_url`                                                   | string         | OIDC JWKS URI for token verification; required if OIDC discovery is disabled                                                                                                              |                       |
 | flag: `--profile-url`
toml: `profile_url`                                                       | string         | Profile access endpoint                                                                                                                                                                   |                       |
 | flag: `--prompt`
toml: `prompt`                                                                 | string         | [OIDC prompt](https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest); if present, `approval-prompt` is ignored                                                                | `""`                  |
-| flag: `--provider-ca-file`
toml: `provider_ca_file`                                             | string \| list | Paths to CA certificates that should be used when connecting to the provider. If not specified, the default Go trust sources are used instead.                                            |
+| flag: `--provider-ca-file`
toml: `provider_ca_files`                                             | string \| list | Paths to CA certificates that should be used when connecting to the provider. If not specified, the default Go trust sources are used instead.                                            |
 | flag: `--provider-display-name`
toml: `provider_display_name`                                   | string         | Override the provider's name with the given string; used for the sign-in page                                                                                                             | (depends on provider) |
 | flag: `--provider`
toml: `provider`                                                             | string         | OAuth provider                                                                                                                                                                            | google                |
 | flag: `--pubjwk-url`
toml: `pubjwk_url`                                                         | string         | JWK pubkey access endpoint: required by login.gov                                                                                                                                         |                       |