Skip to content

Commit

Permalink
Merge pull request #456 from City-of-Helsinki/develop
Browse files Browse the repository at this point in the history
Release 20.9.
  • Loading branch information
tvalimaa authored Sep 20, 2023
2 parents 525ceda + 0e10aed commit e24fbb9
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions public/sites/default/saml.settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@

$config['samlauth.authentication']['sp_private_key'] = getenv('ASU_SAML_SP');
$config['samlauth.authentication']['sp_x509_certificate'] = getenv('ASU_SAML_CERT');
$config['samlauth.authentication']['sp_entity_id'] = getenv('ASU_SP_ENTITY_ID');

if (getenv('APP_ENV') == 'dev' || getenv('APP_ENV') == 'testing' || getenv('APP_ENV') =='development') {
// pitää mätsätä idp:n päässä olevan arvon kanssa.
Expand Down Expand Up @@ -65,11 +66,3 @@
$config['samlauth.authentication']['idp_single_sign_on_service'] = 'https://tunnistautuminen.suomi.fi/idp/profile/SAML2/Redirect/SSO';
$config['samlauth.authentication']['idp_single_log_out_service'] = 'https://tunnistautuminen.suomi.fi/idp/profile/SAML2/POST/SLO';
}
if (getenv('APP_ENV') =='stg') {
// pitää mätsätä idp:n päässä olevan arvon kanssa.
$config['samlauth.authentication']['sp_entity_id'] = 'https://asuntotuotanto.hel.fi';
}
if (getenv('APP_ENV') =='prod') {
// pitää mätsätä idp:n päässä olevan arvon kanssa.
$config['samlauth.authentication']['sp_entity_id'] = 'https://asuntotuotanto.hel.fi';
}

0 comments on commit e24fbb9

Please sign in to comment.