Change OAuth2 username to 'nickname' & enable registration in case auto registration fails

This commit is contained in:
Akumatic 2025-01-28 21:53:00 +01:00
parent de677f5c6d
commit a2870a654d

View File

@ -42,9 +42,9 @@ services:
GITEA__oauth2_client__REGISTER_EMAIL_CONFIRM: false
GITEA__oauth2_client__ENABLE_AUTO_REGISTRATION: true
GITEA__oauth2_client__ACCOUNT_LINKING: login
GITEA__oauth2_client__USERNAME: preferred_username
GITEA__oauth2_client__USERNAME: nickname
GITEA__openid__ENABLE_OPENID_SIGNIN: false
GITEA__service__DISABLE_REGISTRATION: true
GITEA__service__DISABLE_REGISTRATION: false
GITEA__service__ALLOW_ONLY_EXTERNAL_REGISTRATION: true
GITEA__service__DEFAULT_ALLOW_CREATE_ORGANIZATION: false
GITEA__repository__MAX_CREATION_LIMIT: 0