auth
This commit is contained in:
@@ -38,10 +38,13 @@ in
|
|||||||
templates = {
|
templates = {
|
||||||
"auth.yaml" = {
|
"auth.yaml" = {
|
||||||
content = ''
|
content = ''
|
||||||
auth_oidc:
|
client_id: "${config.sops.placeholder."home-assistant/auth-client-id"}"
|
||||||
client_id: "${config.sops.placeholder."home-assistant/auth-client-id"}"
|
client_secret: "${config.sops.placeholder."home-assistant/auth-client-secret"}"
|
||||||
client_secret: "${config.sops.placeholder."home-assistant/auth-client-secret"}"
|
discovery_url: "https://authentik.mjallen.dev/application/o/home-assistant/.well-known/openid-configuration"
|
||||||
discovery_url: "https://authentik.mjallen.dev/application/o/home-assistant/.well-known/openid-configuration"
|
roles:
|
||||||
|
user: "non_existent"
|
||||||
|
admin: "hass-admin"
|
||||||
|
display_name: "Authentik"
|
||||||
'';
|
'';
|
||||||
owner = config.users.users.hass.name;
|
owner = config.users.users.hass.name;
|
||||||
group = config.users.users.hass.group;
|
group = config.users.users.hass.group;
|
||||||
|
|||||||
Reference in New Issue
Block a user