Skip to content

Commit

Permalink
Fix possible PKCE values in OIDC (#896)
Browse files Browse the repository at this point in the history
  • Loading branch information
1 parent d50bfd3 commit 752adfe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/resources/connection.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).


<a id="nestedblock--options--decryption_key"></a>
Expand Down
4 changes: 2 additions & 2 deletions internal/auth0/connection/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -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).",
},
},
Expand Down

0 comments on commit 752adfe

Please sign in to comment.