feat: oidc matrix
This commit is contained in:
parent
b9684e2362
commit
07f653908b
1 changed files with 6 additions and 4 deletions
|
|
@ -182,15 +182,16 @@ in {
|
||||||
|
|
||||||
services.matrix-synapse = {
|
services.matrix-synapse = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.server_name = config.networking.domain;
|
extras = [ "oidc" ];
|
||||||
# The public base URL value must match the `base_url` value set in `clientConfig` above.
|
# The public base URL value must match the `base_url` value set in `clientConfig` above.
|
||||||
# The default value here is based on `server_name`, so if your `server_name` is different
|
# The default value here is based on `server_name`, so if your `server_name` is different
|
||||||
# from the value of `fqdn` above, you will likely run into some mismatched domain names
|
# from the value of `fqdn` above, you will likely run into some mismatched domain names
|
||||||
# in client applications.
|
# in client applications.
|
||||||
settings.public_baseurl = baseUrl;
|
|
||||||
settings.enable_registration = false;
|
|
||||||
enableRegistrationScript = true;
|
|
||||||
settings = {
|
settings = {
|
||||||
|
server_name = config.networking.domain;
|
||||||
|
public_baseurl = baseUrl;
|
||||||
|
enable_registration = false;
|
||||||
|
enableRegistrationScript = true;
|
||||||
listeners = [
|
listeners = [
|
||||||
{
|
{
|
||||||
port = 8008;
|
port = 8008;
|
||||||
|
|
@ -206,6 +207,7 @@ in {
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
log_level = "DEBUG";
|
||||||
};
|
};
|
||||||
settings.app_service_config_files = [
|
settings.app_service_config_files = [
|
||||||
"/var/lib/mautrix-signal/double-puppeting.yaml"
|
"/var/lib/mautrix-signal/double-puppeting.yaml"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue