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