gitea: set up oauth2
This commit is contained in:
parent
f34fd8e345
commit
ebd854a0ae
|
@ -45,6 +45,20 @@
|
||||||
service.DISABLE_REGISTRATION = true;
|
service.DISABLE_REGISTRATION = true;
|
||||||
session.COOKIE_SECURE = 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 = {
|
ui = {
|
||||||
DEFAULT_THEME = "monokai";
|
DEFAULT_THEME = "monokai";
|
||||||
THEMES = lib.strings.concatStringsSep "," [
|
THEMES = lib.strings.concatStringsSep "," [
|
||||||
|
|
Loading…
Reference in New Issue