diff --git a/docs/resources/connection.md b/docs/resources/connection.md index 902d7f378..a5c46b0eb 100644 --- a/docs/resources/connection.md +++ b/docs/resources/connection.md @@ -768,7 +768,7 @@ Optional: Required: -- `pkce` (String) PKCE configuration. Possible values: `auto` (uses the strongest algorithm available), `s256` (uses the SHA-256 algorithm), `plain` (uses plaintext as described in the PKCE specification) or `disabled` (disables support for PKCE). +- `pkce` (String) PKCE configuration. Possible values: `auto` (uses the strongest algorithm available), `S256` (uses the SHA-256 algorithm), `plain` (uses plaintext as described in the PKCE specification) or `disabled` (disables support for PKCE). diff --git a/internal/auth0/connection/schema.go b/internal/auth0/connection/schema.go index 0dc4bda82..7ac4ecbed 100644 --- a/internal/auth0/connection/schema.go +++ b/internal/auth0/connection/schema.go @@ -802,9 +802,9 @@ var optionsSchema = &schema.Schema{ "pkce": { Type: schema.TypeString, Required: true, - ValidateFunc: validation.StringInSlice([]string{"auto", "s256", "plain", "disabled"}, false), + ValidateFunc: validation.StringInSlice([]string{"auto", "S256", "plain", "disabled"}, false), Description: "PKCE configuration. Possible values: `auto` (uses the strongest algorithm available), " + - "`s256` (uses the SHA-256 algorithm), `plain` (uses plaintext as described in the PKCE specification) " + + "`S256` (uses the SHA-256 algorithm), `plain` (uses plaintext as described in the PKCE specification) " + "or `disabled` (disables support for PKCE).", }, },