3
0
Files
corteza/app/options/SCIM.cue
2022-01-29 12:18:00 +01:00

32 lines
752 B
CUE

package options
import (
"github.com/cortezaproject/corteza-server/codegen/schema"
)
SCIM: schema.#optionsGroup & {
handle: "SCIM"
title: "SCIM Server"
options: {
enabled: {
type: "bool"
description: "Enable SCIM subsystem"
}
base_URL: {
default: "\"/scim\""
description: "Prefix for SCIM API endpoints"
}
secret: {
description: "Secret to use to validate requests on SCIM API endpoints"
}
external_id_as_primary: {
type: "bool"
description: "Use external IDs in SCIM API endpoints"
}
external_id_validation: {
default: "\"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$\""
description: "Validates format of external IDs. Defaults to UUID"
}
}
}