Overridden userinfo_mapping not used by OpenIDConnectClaims

Created on 3 February 2023, over 1 year ago
Updated 24 October 2023, 11 months ago

Problem/Motivation

When i override userinfo_mapping from the settings.php the overridden values are not being used by Drupal\openid_connect\OpenIDConnectClaims. This is because the value of userinfo_mapping is read from an editable openid_connect.settings Config object.

Steps to reproduce

Add a line to settings.php:

$config['openid_connect.settings']['userinfo_mappings']['timezone'] = 'override';

Proposed resolution

Replace $this->configFactory->getEditable('openid_connect.settings') by $this->configFactory->get('openid_connect.settings').

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇳🇱Netherlands Ruuds

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

Comments & Activities

Production build 0.71.5 2024