code: improve oauth and registration settings
This commit is contained in:
parent
4bd70bbadb
commit
e40c160a55
|
@ -20,23 +20,28 @@ data:
|
||||||
hosts:
|
hosts:
|
||||||
- "code.${domain}"
|
- "code.${domain}"
|
||||||
gitea:
|
gitea:
|
||||||
|
# https://gitea.com/gitea/helm-chart/src/branch/main#oauth2-settings
|
||||||
oauth:
|
oauth:
|
||||||
- name: Stackspin
|
- name: Stackspin
|
||||||
provider: "openidConnect"
|
provider: "openidConnect"
|
||||||
key: "${client_id}"
|
key: "${client_id}"
|
||||||
secret: "${client_secret}"
|
secret: "${client_secret}"
|
||||||
autoDiscoverUrl: "https://sso.${domain}/.well-known/openid-configuration"
|
autoDiscoverUrl: "https://sso.${domain}/.well-known/openid-configuration"
|
||||||
config:
|
iconUrl: "https://dashboard.${domain}/favicon-32x32.png"
|
||||||
# https://docs.gitea.io/en-us/config-cheat-sheet
|
# https://docs.gitea.io/en-us/config-cheat-sheet
|
||||||
|
config:
|
||||||
repository:
|
repository:
|
||||||
DEFAULT_PUSH_CREATE_PRIVATE: false
|
DEFAULT_PUSH_CREATE_PRIVATE: false
|
||||||
ENABLE_PUSH_CREATE_USER: true
|
ENABLE_PUSH_CREATE_USER: true
|
||||||
ENABLE_PUSH_CREATE_ORG: true
|
ENABLE_PUSH_CREATE_ORG: true
|
||||||
server:
|
server:
|
||||||
ROOT_URL: "https://code.${domain}"
|
ROOT_URL: "https://code.${domain}"
|
||||||
# START_SSH_SERVER: true
|
LANDING_PAGE: login
|
||||||
|
openid:
|
||||||
|
#ENABLE_OPENID_SIGNUP: true
|
||||||
service:
|
service:
|
||||||
DISABLE_REGISTRATION: true
|
ENABLE_BASIC_AUTHENTICATION: false
|
||||||
|
#DISABLE_REGISTRATION: true
|
||||||
log:
|
log:
|
||||||
LEVEL: "Trace"
|
LEVEL: "Trace"
|
||||||
persistence:
|
persistence:
|
||||||
|
|
Loading…
Reference in New Issue