Skip to content

Commit

Permalink
fix: add PKCE config key to config schema (#4098)
Browse files Browse the repository at this point in the history
  • Loading branch information
alnr authored Sep 13, 2024
1 parent 5830ffb commit 2c7ff3c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions embedx/config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,13 @@
"enum": ["id_token", "userinfo"],
"default": "id_token",
"examples": ["id_token", "userinfo"]
},
"pkce": {
"title": "Proof Key for Code Exchange",
"description": "PKCE controls if the OpenID Connect OAuth2 flow should use PKCE (Proof Key for Code Exchange). IMPORTANT: If you set this to `force`, you must whitelist a different return URL for your OAuth2 client in the provider's configuration. Instead of <base-url>/self-service/methods/oidc/callback/<provider>, you must use <base-url>/self-service/methods/oidc/callback",
"type": "string",
"enum": ["auto", "never", "force"],
"default": "auto"
}
},
"additionalProperties": false,
Expand Down

0 comments on commit 2c7ff3c

Please sign in to comment.