2026-03-14 13:00:13 +01:00
|
|
|
CREATE TABLE IF NOT EXISTS oidc_config (
|
|
|
|
|
config_id String DEFAULT 'default',
|
|
|
|
|
enabled Bool DEFAULT false,
|
|
|
|
|
issuer_uri String DEFAULT '',
|
|
|
|
|
client_id String DEFAULT '',
|
|
|
|
|
client_secret String DEFAULT '',
|
|
|
|
|
roles_claim String DEFAULT 'realm_access.roles',
|
|
|
|
|
default_roles Array(LowCardinality(String)),
|
2026-03-14 13:56:02 +01:00
|
|
|
auto_signup Bool DEFAULT true,
|
2026-03-14 16:09:24 +01:00
|
|
|
display_name_claim String DEFAULT 'name',
|
2026-03-14 13:00:13 +01:00
|
|
|
updated_at DateTime64(3, 'UTC') DEFAULT now64(3, 'UTC')
|
|
|
|
|
) ENGINE = ReplacingMergeTree(updated_at)
|
|
|
|
|
ORDER BY (config_id);
|