Support multivalue key type (arrays) in key overrides

Created on 29 August 2025, 15 days ago

Problem/Motivation

Usage of "Authentication (Multivalue)" key type in Key Overrides doesn't provide array, it provides source JSON string. Some values, e.g. 'oidc.realm.generic.*.scopes' is sequence (array) and in this way couldn't be overridden correctly.

Steps to reproduce

- Use OIDC or other module with sequence in the config;
- Create key of "Authentication (Multivalue)" type with valid value;
- Create override like below:

langcode: en
status: true
dependencies:
  config:
    - key.key.oidc_scopes
    - oidc.realm.generic.d68c85d3-7239-4728-ac72-45b2761e5b06
id: oidc_scopes
label: 'OIDC scopes'
config_type: system.simple
config_prefix: ''
config_name: oidc.realm.generic.d68c85d3-7239-4728-ac72-45b2761e5b06
config_item: scopes
key_id: oidc_scopes

Proposed resolution

Use Key::getKeyValues() for multi-value key types.

Remaining tasks

Support Key Override creation in UI, sequence properties are missed in "Configuration Item" list.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇧🇾Belarus dewalt

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024