@@ -1545,6 +1545,31 @@ when required by your organization's security policy.`,
1545
1545
Group : & deploymentGroupOIDC ,
1546
1546
YAML : "ignoreUserInfo" ,
1547
1547
},
1548
+ {
1549
+ Name : "OIDC Organization Field" ,
1550
+ Description : "This field must be set if using the organization sync feature." +
1551
+ " Set to the claim to be used for organizations." ,
1552
+ Flag : "oidc-organization-field" ,
1553
+ Env : "CODER_OIDC_ORGANIZATION_FIELD" ,
1554
+ // Empty value means sync is disabled
1555
+ Default : "" ,
1556
+ Value : & c .OIDC .OrganizationField ,
1557
+ Group : & deploymentGroupOIDC ,
1558
+ YAML : "organizationField" ,
1559
+ },
1560
+ {
1561
+ Name : "OIDC Assign Default Organization" ,
1562
+ Description : "If set to true, users will always be added to the default organization. " +
1563
+ "If organization sync is enabled, then the default org is always added to the user's set of expected" +
1564
+ "organizations." ,
1565
+ Flag : "oidc-organization-assign-default" ,
1566
+ Env : "CODER_OIDC_ORGANIZATION_ASSIGN_DEFAULT" ,
1567
+ // Single org deployments should always have this enabled.
1568
+ Default : "true" ,
1569
+ Value : & c .OIDC .OrganizationAssignDefault ,
1570
+ Group : & deploymentGroupOIDC ,
1571
+ YAML : "organizationAssignDefault" ,
1572
+ },
1548
1573
{
1549
1574
Name : "OIDC Group Field" ,
1550
1575
Description : "This field must be set if using the group sync feature and the scope name is not 'groups'. Set to the claim to be used for groups." ,
0 commit comments