Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix possible PKCE values in OIDC #896

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/resources/connection.md
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
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