-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -369,6 +369,11 @@ unix_socket_permission: "0770" | |
# allowed_users: | ||
# - [email protected] | ||
# | ||
# # Optional: Enable PKCE (Proof Key for Code Exchange) support for enhanced security | ||
# # and prevent CSRF attacks. | ||
# # See https://datatracker.ietf.org/doc/html/rfc7636 | ||
# enable_pkce: false | ||
# | ||
# # 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 | ||
# # provided by the OIDC. This is useful when migrating from legacy users to OIDC | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,6 +45,12 @@ oidc: | |
allowed_users: | ||
- [email protected] | ||
|
||
# Optional: Enable PKCE (Proof Key for Code Exchange) support for enhanced security and prevent CSRF attacks | ||
# 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 | ||
|
||
# If `strip_email_domain` is set to `true`, the domain part of the username email address will be removed. | ||
# This will transform `[email protected]` to the user `first-name.last-name` | ||
# If `strip_email_domain` is set to `false` the domain part will NOT be removed resulting to the following | ||
|