gitea: set up oauth2

This commit is contained in:
Oystein Kristoffer Tveit 2023-03-07 23:20:19 +01:00
parent f34fd8e345
commit ebd854a0ae
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
1 changed files with 14 additions and 0 deletions

View File

@ -45,6 +45,20 @@
service.DISABLE_REGISTRATION = true;
session.COOKIE_SECURE = true;
oauth2_client = {
ENABLE_AUTO_REGISTRATION = true;
OPENID_CONNECT_SCOPES = "email profile";
UPDATE_AVATAR = true;
ACCOUNT_LINKING = "auto";
USERNAME = "userid";
};
log.LEVEL = "Info";
database.LOG_SQL = false;
repository.DISABLE_STARS = true;
ui = {
DEFAULT_THEME = "monokai";
THEMES = lib.strings.concatStringsSep "," [