chore(nix): add OIDC configuration to Headscale
- Introduced OIDC settings in Headscale, including allowed domains, client ID, client secret path, and issuer. - Enables support for OpenID Connect authentication.
This commit is contained in:
parent
ef4ac5e228
commit
8d6db08029
1 changed files with 6 additions and 0 deletions
|
|
@ -13,6 +13,12 @@ in
|
||||||
dns = {
|
dns = {
|
||||||
base_domain = "hoyer.tail";
|
base_domain = "hoyer.tail";
|
||||||
};
|
};
|
||||||
|
oidc = {
|
||||||
|
allowed_domains = [ "hoyer.xyz" ];
|
||||||
|
client_id = "UgQYtXftYvB9ua4cuyZ9NBvaknQfN76pPnf50pDhqghdb87g9tFcuSMiTLVje3R7";
|
||||||
|
client_secret_path = "/var/lib/headscale/client_secret";
|
||||||
|
issuer = "https://nc.hoyer.xyz";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue