diff --git a/template/stacks/core/forgejo/values.yaml b/template/stacks/core/forgejo/values.yaml index 0c07fa2..9d724cd 100644 --- a/template/stacks/core/forgejo/values.yaml +++ b/template/stacks/core/forgejo/values.yaml @@ -27,13 +27,18 @@ gitea: server: DOMAIN: 'gitea.{{{ .Env.DOMAIN }}}' ROOT_URL: 'https://gitea.{{{ .Env.DOMAIN }}}:443' - oauth: - - name: 'Keycloak' - provider: 'openidConnect' - keys: 'forgejo' - secret: 'nEJ7tmVYLjwuycF4vhBzCY8BVfk9LHDY' - # existingSecret: gitea-credentials - autoDiscoverUrl: 'https://gitea.runner.c-one-infra.de/.well-known/openid-configuration' + +oauth2_client: + ENABLE_AUTO_REGISTRATION: true + ACCOUNT_LINKING: auto + +oauth: + - name: 'Keycloak' + provider: 'openidConnect' + key: 'forgejo' + secret: 'nEJ7tmVYLjwuycF4vhBzCY8BVfk9LHDY' + # existingSecret: gitea-credentials + autoDiscoverUrl: 'https://gitea.runner.c-one-infra.de/.well-known/openid-configuration' service: ssh: