diff --git a/.env.example.aad b/.env.example.aad index cc929de..6f6ffd8 100644 --- a/.env.example.aad +++ b/.env.example.aad @@ -68,6 +68,9 @@ SYNC_SCHEDULE=0 * * * * ## Show the changes, but do not make any changes ## Default: false #TEST_MODE=false +## Automatically add users missing from the organization +ADD_MEMBER=false + #################### ## Flask Settings ## diff --git a/.env.example.ldap b/.env.example.ldap index 8b24242..e51228f 100644 --- a/.env.example.ldap +++ b/.env.example.ldap @@ -70,6 +70,8 @@ SYNC_SCHEDULE=0 * * * * ## Show the changes, but do not make any changes ## Default: false #TEST_MODE=false +## Automatically add users missing from the organization +ADD_MEMBER=false #################### ## Flask Settings ## diff --git a/.env.example.okta b/.env.example.okta index f3e112e..775f035 100644 --- a/.env.example.okta +++ b/.env.example.okta @@ -53,6 +53,8 @@ SYNC_SCHEDULE=0 * * * * ## Show the changes, but do not make any changes ## Default: false #TEST_MODE=false +## Automatically add users missing from the organization +ADD_MEMBER=false #################### ## Flask Settings ## diff --git a/.env.example.onelogin b/.env.example.onelogin index 771ef43..1854e85 100644 --- a/.env.example.onelogin +++ b/.env.example.onelogin @@ -55,6 +55,8 @@ SYNC_SCHEDULE=0 * * * * ## Show the changes, but do not make any changes ## Default: false #TEST_MODE=false +## Automatically add users missing from the organization +ADD_MEMBER=false #################### ## Flask Settings ## diff --git a/README.md b/README.md index 796b10a..e79a413 100644 --- a/README.md +++ b/README.md @@ -112,6 +112,10 @@ GHE_HOST=github.example.com ## Okta = OKTA ## OneLogin = ONELOGIN USER_DIRECTORY=LDAP + +## Sync users on username or email attribute +USER_SYNC_ATTRIBUTE=username + ``` ### Sample `.env` for Active Directory @@ -183,6 +187,9 @@ REPO_FOR_ISSUES=github-demo/demo-repo ISSUE_ASSIGNEE=githubber SYNC_SCHEDULE=0 * * * * TEST_MODE=false + +### Automatically add users missing from the organization +ADD_MEMBER=false ``` ### Sample `syncmap.yml` custom mapping file