Skip to content

Commit

Permalink
v.3.18.3
Browse files Browse the repository at this point in the history
  • Loading branch information
damikael authored Oct 18, 2023
2 parents 8f5c500 + 3747474 commit 1418aa2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"config": {
"version": "3.18.2",
"version": "3.18.3",
"allow-plugins": {
"simplesamlphp/composer-module-installer": true
}
Expand Down
4 changes: 4 additions & 0 deletions setup/Setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -658,6 +658,10 @@ public static function setup(Event $event) {
"logo"=> "/assets/img/logo.png",
"client_id"=> $proxyClientID,
"client_secret"=> $proxyClientSecret,
"level": 2,
"atcs_index": 0,
"handler": "Plain",
"response_attributes_prefix": ""
"redirect_uri"=> [$proxyRedirectURI]
)
),
Expand Down
4 changes: 3 additions & 1 deletion setup/sdk/proxy.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@
// dearray values
$data = array();
foreach($spidsdk->getAttributes() as $attribute=>$value) {
$data[$attribute] = $value[0];
$response_attributes_prefix = $proxy_config['clients'][$client_id]['response_attributes_prefix'];
$response_attributes_prefix = $response_attributes_prefix? $response_attributes_prefix : '';
$data[$response_attributes_prefix.$attribute] = $value[0];
}

$client_config = $proxy_config['clients'][$client_id];
Expand Down

0 comments on commit 1418aa2

Please sign in to comment.