fix: validate and respect oidc validation settings

This commit is contained in:
Aarnav Tale
2024-12-06 19:05:07 -05:00
parent c9bcc1d7c6
commit e713dae91b
3 changed files with 48 additions and 0 deletions
+1
View File
@@ -36,6 +36,7 @@ If you use the Headscale configuration integration, these are not required.
- **`OIDC_CLIENT_ID`**: The client ID of your OIDC provider.
- **`OIDC_CLIENT_SECRET`**: The client secret of your OIDC provider.
- **`OIDC_CLIENT_SECRET_METHOD`**: The method used to send the client secret (default: `client_secret_basic`).
- **`OIDC_SKIP_CONFIG_VALIDATION`**: Skip the OIDC configuration validation (default: `false`).
- **`ROOT_API_KEY`**: An API key used to issue new ones for sessions (keep expiry fairly long).
- **`DISABLE_API_KEY_LOGIN`**: If you want to disable API key login, set this to `true`.