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
@@ -1622,6 +1629,38 @@ when required by your organization's security policy.`,
1622
1629
Group: &deploymentGroupOIDC,
1623
1630
YAML: "userRoleDefault",
1624
1631
},
1632
+
{
1633
+
Name: "OIDC Organization Member Mapping",
1634
+
Description: "A map of the OIDC passed in user claims and the organizations in Coder it should map to. Users with the claims will be assigned organization membership in Coder.",
1635
+
Flag: "oidc-organization-mapping",
1636
+
Env: "CODER_OIDC_ORGANIZATION_MAPPING",
1637
+
Default: "{}",
1638
+
Value: &c.OIDC.OrganizationMapping,
1639
+
Group: &deploymentGroupOIDC,
1640
+
YAML: "organizationMapping",
1641
+
},
1642
+
{
1643
+
Name: "OIDC Assign Default Organization",
1644
+
Description: "By default, coder places all OIDC users into the default organization. Set 'false' to stop this behavior.",
1645
+
Flag: "oidc-organization-assign-default",
1646
+
Env: "CODER_OIDC_ORGANIZATION_ASSIGN_DEFAULT",
1647
+
Default: "true",
1648
+
Value: &c.OIDC.OrganizationAssignDefault,
1649
+
Group: &deploymentGroupOIDC,
1650
+
YAML: "organizationAssignDefault",
1651
+
},
1652
+
{
1653
+
Name: "OIDC Organization Field",
1654
+
Description: "This field must be set if using the organization sync feature. Set this to the name of the claim used to store the user's organizations. The organizations should be sent as an array of strings.",
1655
+
Flag: "oidc-organization-field",
1656
+
Env: "CODER_OIDC_ORGANIZATION_FIELD",
1657
+
// This value is intentionally blank. If this is empty, then OIDC
1658
+
// organization sync behavior is disabled.
1659
+
Default: "",
1660
+
Value: &c.OIDC.OrganizationField,
1661
+
Group: &deploymentGroupOIDC,
1662
+
YAML: "organizationField",
1663
+
},
1625
1664
{
1626
1665
Name: "OpenID Connect sign in text",
1627
1666
Description: "The text to show on the OpenID Connect sign in button.",
0 commit comments