- Notifications
You must be signed in to change notification settings - Fork926
Open
Description
Organization sync makes more sense as a runtime configuration, rather than at startup.
Startup requires an org to be created first, which is a chicken and egg problem for coder being required to create the org in the first place.
Lines 1548 to 1559 in5d6635e
{ | |
Name:"OIDC Organization Field", | |
Description:"This field must be set if using the organization sync feature."+ | |
" Set to the claim to be used for organizations.", | |
Flag:"oidc-organization-field", | |
Env:"CODER_OIDC_ORGANIZATION_FIELD", | |
// Empty value means sync is disabled | |
Default:"", | |
Value:&c.OIDC.OrganizationField, | |
Group:&deploymentGroupOIDC, | |
YAML:"organizationField", | |
}, |