fix
This commit is contained in:
@@ -97,13 +97,13 @@ in
|
|||||||
createLocally = false;
|
createLocally = false;
|
||||||
user = "noreply.mastodon@${sp.domain}";
|
user = "noreply.mastodon@${sp.domain}";
|
||||||
fromAddress = "noreply.mastodon@${sp.domain}";
|
fromAddress = "noreply.mastodon@${sp.domain}";
|
||||||
passwordFile = "/var/lib/mastodon/secrets/smtp-password";
|
passwordFile = "";
|
||||||
authenticate = true;
|
authenticate = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
mailserver.loginAccounts."noreply.mastodon@${sp.domain}" = {
|
mailserver.loginAccounts."noreply.mastodon@${sp.domain}" = {
|
||||||
hashedPassword = "";
|
hashedPassword = "/run/keys/mastodon/email_password";
|
||||||
sendOnly = true;
|
sendOnly = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -144,10 +144,10 @@ in
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
environment = {
|
environment = {
|
||||||
OIDC_ENABLED = true;
|
OIDC_ENABLED = "true";
|
||||||
OIDC_DISPLAY_NAME= "Kanidm";
|
OIDC_DISPLAY_NAME= "Kanidm";
|
||||||
OIDC_ISSUER = issuer;
|
OIDC_ISSUER = issuer;
|
||||||
OIDC_DISCOVERY = toString "true";
|
OIDC_DISCOVERY = "true";
|
||||||
OIDC_SCOPE = "openid,profile";
|
OIDC_SCOPE = "openid,profile";
|
||||||
OIDC_UID_FIELD = "sub";
|
OIDC_UID_FIELD = "sub";
|
||||||
OIDC_CLIENT_ID = oauthClientID;
|
OIDC_CLIENT_ID = oauthClientID;
|
||||||
|
Reference in New Issue
Block a user