Skip to content

Commit 1418aa2

Browse files
authored
v.3.18.3
2 parents 8f5c500 + 3747474 commit 1418aa2

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"config": {
3-
"version": "3.18.2",
3+
"version": "3.18.3",
44
"allow-plugins": {
55
"simplesamlphp/composer-module-installer": true
66
}

setup/Setup.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -658,6 +658,10 @@ public static function setup(Event $event) {
658658
"logo"=> "/assets/img/logo.png",
659659
"client_id"=> $proxyClientID,
660660
"client_secret"=> $proxyClientSecret,
661+
"level": 2,
662+
"atcs_index": 0,
663+
"handler": "Plain",
664+
"response_attributes_prefix": ""
661665
"redirect_uri"=> [$proxyRedirectURI]
662666
)
663667
),

setup/sdk/proxy.tpl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,9 @@
9191
// dearray values
9292
$data = array();
9393
foreach($spidsdk->getAttributes() as $attribute=>$value) {
94-
$data[$attribute] = $value[0];
94+
$response_attributes_prefix = $proxy_config['clients'][$client_id]['response_attributes_prefix'];
95+
$response_attributes_prefix = $response_attributes_prefix? $response_attributes_prefix : '';
96+
$data[$response_attributes_prefix.$attribute] = $value[0];
9597
}
9698

9799
$client_config = $proxy_config['clients'][$client_id];

0 commit comments

Comments
 (0)