hedgedoc: add github auth

This commit is contained in:
Vivian 2022-05-15 16:08:27 +02:00
parent 53d5aea418
commit f45b571ed3
4 changed files with 20 additions and 13 deletions

View file

@ -58,7 +58,7 @@ in
"hedgedoc"
];
allowEmailRegister = false;
allowAnonymousEdits = true;
allowAnonymousEdits = false;
allowFreeURL = true;
requireFreeURLAuthentication = true;
imageUploadType = "minio";
@ -76,6 +76,10 @@ in
accessKey = "$MINIO_ACCESS_KEY";
secretKey = "$MINIO_SECRET_KEY";
};
github = {
clientID = "$GITHUB_CLIENTID";
clientSecret = "$GITHUB_CLIENTSECRET";
};
};
};
}