Skip to content

Commit 1c8b32c

Browse files
committed
Use a prefix to obtain the nameid format
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
1 parent 714c794 commit 1c8b32c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/SAMLSettings.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public function getOneLoginSettingsArray($idp) {
125125
'assertionConsumerService' => [
126126
'url' => $this->urlGenerator->linkToRouteAbsolute('user_saml.SAML.assertionConsumerService'),
127127
],
128-
'NameIDFormat' => $this->config->getAppValue('user_saml', 'sp-name-id-format', Constants::NAMEID_UNSPECIFIED)
128+
'NameIDFormat' => $this->config->getAppValue('user_saml', $prefix . 'sp-name-id-format', Constants::NAMEID_UNSPECIFIED)
129129
],
130130
'idp' => [
131131
'entityId' => $this->config->getAppValue('user_saml', $prefix . 'idp-entityId', ''),

0 commit comments

Comments
 (0)