From 2e5b76b7affe418739a46c8aa4c16a4b443ba96c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20S=C3=A1nchez?= Date: Thu, 1 Oct 2026 11:25:00 -0600 Subject: [PATCH] fix[backend](iam): removed idp providers default value on active, so false is not treated as empty and uses the default true --- backend/modules/iam/domain/idp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/modules/iam/domain/idp.go b/backend/modules/iam/domain/idp.go index ea741e91c..2cb6a97e7 100644 --- a/backend/modules/iam/domain/idp.go +++ b/backend/modules/iam/domain/idp.go @@ -32,7 +32,7 @@ type IdentityProviderConfig struct { TenantID uuid.UUID `gorm:"column:tenant_id;type:uuid;not null;index;uniqueIndex:ux_idp_tenant_name,priority:1" json:"-"` Name string `gorm:"column:name;size:64;not null;uniqueIndex:ux_idp_tenant_name,priority:2" json:"name"` ProviderType ProviderType `gorm:"column:provider_type;size:16;not null;index" json:"providerType"` - Active bool `gorm:"column:active;not null;default:true" json:"active"` + Active bool `gorm:"column:active;not null" json:"active"` Settings datatypes.JSON `gorm:"column:settings;type:jsonb" json:"settings"` JITProvisioning bool `gorm:"column:jit_provisioning;not null;default:false" json:"jitProvisioning"` DefaultRoleID *uuid.UUID `gorm:"column:default_role_id;type:uuid" json:"defaultRoleId,omitempty"`