@@ -257,6 +257,10 @@ type ScimConfiguration struct {
257257 TokenExpiresAt time.Time `json:"tokenExpiresAt" api:"required" format:"date-time"`
258258 // updated_at is when the SCIM configuration was last updated
259259 UpdatedAt time.Time `json:"updatedAt" api:"required" format:"date-time"`
260+ // allow_unverified_email_account_linking allows SCIM to link provisioned users to
261+ // existing accounts when the identity provider does not mark the email address as
262+ // verified
263+ AllowUnverifiedEmailAccountLinking bool `json:"allowUnverifiedEmailAccountLinking"`
260264 // enabled indicates if SCIM provisioning is active
261265 Enabled bool `json:"enabled"`
262266 // name is a human-readable name for the SCIM configuration
@@ -269,16 +273,17 @@ type ScimConfiguration struct {
269273// scimConfigurationJSON contains the JSON metadata for the struct
270274// [ScimConfiguration]
271275type scimConfigurationJSON struct {
272- ID apijson.Field
273- CreatedAt apijson.Field
274- OrganizationID apijson.Field
275- TokenExpiresAt apijson.Field
276- UpdatedAt apijson.Field
277- Enabled apijson.Field
278- Name apijson.Field
279- SSOConfigurationID apijson.Field
280- raw string
281- ExtraFields map [string ]apijson.Field
276+ ID apijson.Field
277+ CreatedAt apijson.Field
278+ OrganizationID apijson.Field
279+ TokenExpiresAt apijson.Field
280+ UpdatedAt apijson.Field
281+ AllowUnverifiedEmailAccountLinking apijson.Field
282+ Enabled apijson.Field
283+ Name apijson.Field
284+ SSOConfigurationID apijson.Field
285+ raw string
286+ ExtraFields map [string ]apijson.Field
282287}
283288
284289func (r * ScimConfiguration ) UnmarshalJSON (data []byte ) (err error ) {
@@ -397,6 +402,10 @@ type OrganizationScimConfigurationNewParams struct {
397402 // sso_configuration_id is the SSO configuration to link (required for user
398403 // provisioning)
399404 SSOConfigurationID param.Field [string ] `json:"ssoConfigurationId" api:"required" format:"uuid"`
405+ // allow_unverified_email_account_linking allows SCIM to link provisioned users to
406+ // existing accounts when the identity provider does not mark the email address as
407+ // verified
408+ AllowUnverifiedEmailAccountLinking param.Field [bool ] `json:"allowUnverifiedEmailAccountLinking"`
400409 // name is a human-readable name for the SCIM configuration
401410 Name param.Field [string ] `json:"name"`
402411 // token_expires_in is the duration until the token expires. Defaults to 1 year.
@@ -420,6 +429,10 @@ func (r OrganizationScimConfigurationGetParams) MarshalJSON() (data []byte, err
420429type OrganizationScimConfigurationUpdateParams struct {
421430 // scim_configuration_id is the ID of the SCIM configuration to update
422431 ScimConfigurationID param.Field [string ] `json:"scimConfigurationId" api:"required" format:"uuid"`
432+ // allow_unverified_email_account_linking allows SCIM to link provisioned users to
433+ // existing accounts when the identity provider does not mark the email address as
434+ // verified
435+ AllowUnverifiedEmailAccountLinking param.Field [bool ] `json:"allowUnverifiedEmailAccountLinking"`
423436 // enabled controls whether SCIM provisioning is active
424437 Enabled param.Field [bool ] `json:"enabled"`
425438 // name is a human-readable name for the SCIM configuration
0 commit comments