Skip to content

Commit

Permalink
chore: update config example
Browse files Browse the repository at this point in the history
  • Loading branch information
Rorical committed Dec 22, 2024
1 parent 8f43c94 commit f356d08
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
13 changes: 10 additions & 3 deletions config-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -364,10 +364,17 @@ unix_socket_permission: "0770"
# allowed_users:
# - [email protected]
#
# # Optional: Enable PKCE (Proof Key for Code Exchange) support for enhanced security
# # and prevent CSRF attacks.
# # Optional: PKCE (Proof Key for Code Exchange) configuration
# # PKCE adds an additional layer of security to the OAuth 2.0 authorization code flow
# # by preventing authorization code interception attacks
# # See https://datatracker.ietf.org/doc/html/rfc7636
# enable_pkce: false
# pkce:
# # Enable or disable PKCE support (default: false)
# enabled: false
# # PKCE method to use:
# # - plain: Use plain code verifier
# # - S256: Use SHA256 hashed code verifier (default, recommended)
# method: S256
#
# # Map legacy users from pre-0.24.0 versions of headscale to the new OIDC users
# # by taking the username from the legacy user and matching it with the username
Expand Down
1 change: 1 addition & 0 deletions docs/ref/oidc.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ oidc:
# Optional: PKCE (Proof Key for Code Exchange) configuration
# PKCE adds an additional layer of security to the OAuth 2.0 authorization code flow
# by preventing authorization code interception attacks
# See https://datatracker.ietf.org/doc/html/rfc7636
pkce:
# Enable or disable PKCE support (default: false)
enabled: false
Expand Down

0 comments on commit f356d08

Please sign in to comment.