headscale/docs
Christopher Johnstone 205a008013 Allow use of the preferred_username OIDC claim
Previously, Headscale would only use the `email` OIDC
claim to set the Headscale user. In certain cases
(self-hosted SSO), it may be useful to instead use the
`preferred_username` to set the Headscale username.
This also closes #938.

This adds a config setting to use this claim instead.
The OIDC docs have been updated to include this entry as well.
In addition, this adds an Authelia OIDC example to the docs.

Added OIDC claim integration tests.

Updated the MockOIDC wrapper to take an environment variable that
lets you set the username/email claims to return.

Added two integration tests, TestOIDCEmailGrant and
TestOIDCUsernameGrant, which check the username by checking the FQDN of
clients.

Updated the HTML template shown after OIDC login to show whatever
username is used, based on the Headscale settings.
2023-10-29 16:55:20 -04:00
..
images Docs/ACLs: Add a network diagram to help explain ACLs 2022-03-17 19:58:56 -03:00
logo Add SVG logos (#1286) 2023-03-27 15:33:25 +02:00
packaging Add more capabilities for systemd 2023-04-20 15:53:19 +02:00
proposals Initial proposal for better routing 2022-11-21 21:58:22 +01:00
acls.md Move admonitions to relevant sections 2023-04-07 15:24:13 +02:00
android-client.md add details on how to use the android app 2022-08-02 09:49:28 +03:00
dns-records.md Add admonitions marking community-provided docs 2023-04-07 15:24:13 +02:00
exit-node.md Add IP forwarding requirement to documentation 2023-05-06 21:48:59 +02:00
faq.md Added missing file 2023-05-10 10:26:21 +02:00
glossary.md Rename namespace to user in docs 2023-01-18 15:40:04 +01:00
index.md Improved website 2023-05-10 09:49:13 +02:00
iOS-client.md Move admonitions to relevant sections 2023-04-07 15:24:13 +02:00
oidc.md Allow use of the preferred_username OIDC claim 2023-10-29 16:55:20 -04:00
remote-cli.md Update remote-cli.md 2022-12-19 19:16:48 +01:00
reverse-proxy.md Add admonitions marking community-provided docs 2023-04-07 15:24:13 +02:00
running-headscale-container.md Add admonitions marking community-provided docs 2023-04-07 15:24:13 +02:00
running-headscale-linux-manual.md lint fix 2023-04-19 20:04:58 +02:00
running-headscale-linux.md Add missing GH releases page link 2023-05-04 22:54:32 +02:00
running-headscale-openbsd.md Add admonitions marking community-provided docs 2023-04-07 15:24:13 +02:00
tls.md Remove mTLS from doc and config example 2022-11-19 19:50:34 +01:00
web-ui.md Added web ui section 2023-05-10 16:16:12 +02:00
windows-client.md Adding Powershell commands to Windows instructions (#1299) 2023-04-04 08:58:32 +02:00