account: update the address used for authentication

This commit is contained in:
silver 2023-08-06 19:00:02 +01:00
parent ce0155d6ab
commit acb49a2eb1
8 changed files with 11 additions and 11 deletions

View file

@ -38,7 +38,7 @@
sub = mkOption {
type = types.str;
default = "api.sso";
default = "api.account";
};
};
};
@ -59,7 +59,7 @@
locations."/".proxyPass = "http://localhost:${port_backend}";
extraConfig = ''
add_header Access-Control-Allow-Origin "https://sso.${cfg.domain.base}.${cfg.domain.tld}";
add_header Access-Control-Allow-Origin "https://account.${cfg.domain.base}.${cfg.domain.tld}";
'';
};
@ -70,7 +70,7 @@
envFile = config.age.secrets.ldap_self_service.path;
ldap = {
host = "ldaps://sso.skynet.ie";
host = "ldaps://account.skynet.ie";
admin = "uid=ldap_api,ou=users,dc=skynet,dc=ie";
};