Use a prefix to obtain the nameid format

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2019-05-29 09:53:52 +02:00
parent 714c7942d3
commit 1c8b32c841
No known key found for this signature in database
GPG key ID: F941078878347C0C

View file

@ -125,7 +125,7 @@ class SAMLSettings {
'assertionConsumerService' => [ 'assertionConsumerService' => [
'url' => $this->urlGenerator->linkToRouteAbsolute('user_saml.SAML.assertionConsumerService'), 'url' => $this->urlGenerator->linkToRouteAbsolute('user_saml.SAML.assertionConsumerService'),
], ],
'NameIDFormat' => $this->config->getAppValue('user_saml', 'sp-name-id-format', Constants::NAMEID_UNSPECIFIED) 'NameIDFormat' => $this->config->getAppValue('user_saml', $prefix . 'sp-name-id-format', Constants::NAMEID_UNSPECIFIED)
], ],
'idp' => [ 'idp' => [
'entityId' => $this->config->getAppValue('user_saml', $prefix . 'idp-entityId', ''), 'entityId' => $this->config->getAppValue('user_saml', $prefix . 'idp-entityId', ''),