hedgedoc: add github auth
This commit is contained in:
parent
ed88c499c3
commit
2e1f27f41d
4 changed files with 20 additions and 13 deletions
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue