Phase 10: Gitea OIDC login prerequisites in compose (external-only registration, auto-register, account linking); README steps
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
@@ -219,7 +219,16 @@ services:
|
||||
GITEA__server__SSH_DOMAIN: ${GIT_HOST:-git.example.com}
|
||||
GITEA__server__SSH_PORT: "2222" # what users put in their remotes
|
||||
GITEA__server__SSH_LISTEN_PORT: "22" # inside the container
|
||||
GITEA__service__DISABLE_REGISTRATION: "true" # accounts are created by an admin (or via Authentik OIDC later)
|
||||
# accounts come from Authentik (Discord) via OIDC: external auto-registration on, local self-registration off
|
||||
GITEA__service__DISABLE_REGISTRATION: "false"
|
||||
GITEA__service__ALLOW_ONLY_EXTERNAL_REGISTRATION: "true"
|
||||
GITEA__service__SHOW_REGISTRATION_BUTTON: "false"
|
||||
GITEA__service__REQUIRE_SIGNIN_VIEW: "false"
|
||||
GITEA__oauth2_client__ENABLE_AUTO_REGISTRATION: "true"
|
||||
GITEA__oauth2_client__ACCOUNT_LINKING: auto
|
||||
GITEA__oauth2_client__USERNAME: nickname # Authentik preferred_username
|
||||
GITEA__oauth2_client__UPDATE_AVATAR: "true"
|
||||
GITEA__oauth2_client__OPENID_CONNECT_SCOPES: openid email profile
|
||||
GITEA__actions__ENABLED: "true"
|
||||
GITEA__actions__DEFAULT_ACTIONS_URL: github
|
||||
GITEA__webhook__ALLOWED_HOST_LIST: private,loopback,external
|
||||
|
||||
Reference in New Issue
Block a user