You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`DEFAULT_BRANCH`: **master**: Default branch name of all repositories.
79
80
-`ALLOW_ADOPTION_OF_UNADOPTED_REPOSITORIES`: **false**: Allow non-admin users to adopt unadopted repositories
80
81
-`ALLOW_DELETION_OF_UNADOPTED_REPOSITORIES`: **false**: Allow non-admin users to delete unadopted repositories
@@ -429,6 +430,21 @@ relation to port exhaustion.
429
430
-`BLACKLISTED_URIS`: **\<empty\>**: If non-empty, list of POSIX regex patterns matching
430
431
OpenID URI's to block.
431
432
433
+
## OAuth2 Client (`oauth2_client`)
434
+
435
+
-`REGISTER_EMAIL_CONFIRM`: *[service]***REGISTER\_EMAIL\_CONFIRM**: Set this to enable or disable email confirmation of OAuth2 auto-registration. (Overwrites the REGISTER\_EMAIL\_CONFIRM setting of the `[service]` section)
436
+
-`OPENID_CONNECT_SCOPES`: **\<empty\>**: List of additional openid connect scopes. (`openid` is implicitly added)
437
+
-`ENABLE_AUTO_REGISTRATION`: **false**: Automatically create user accounts for new oauth2 users.
438
+
-`USERNAME`: **nickname**: The source of the username for new oauth2 accounts:
439
+
- userid - use the userid / sub attribute
440
+
- nickname - use the nickname attribute
441
+
- email - use the username part of the email attribute
442
+
-`UPDATE_AVATAR`: **false**: Update avatar if available from oauth2 provider. Update will be performed on each login.
443
+
-`ACCOUNT_LINKING`: **disabled**: How to handle if an account / email already exists:
444
+
- disabled - show an error
445
+
- login - show an account linking login
446
+
- auto - automatically link with the account (Please be aware that this will grant access to an existing account just because the same username or email is provided. You must make sure that this does not cause issues with your authentication providers.)
447
+
432
448
## Service (`service`)
433
449
434
450
-`ACTIVE_CODE_LIVE_MINUTES`: **180**: Time limit (min) to confirm account/email registration.
0 commit comments