Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VOTE-3126: Update IDP entity ids for each environment as they are all different #1114

Merged
merged 7 commits into from
Nov 15, 2024
Merged
2 changes: 1 addition & 1 deletion config/non_production/samlauth.authentication.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ sp_new_certificate: ''
sp_private_key: ''
metadata_valid_secs: 60
metadata_cache_http: false
idp_entity_id: 'http://www.okta.com/exkcuoyewsWHvYili4h7'
idp_entity_id: ''
idp_single_sign_on_service: ''
idp_single_log_out_service: ''
idp_change_password_service: ''
Expand Down
2 changes: 1 addition & 1 deletion config/production/samlauth.authentication.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ sp_new_certificate: ''
sp_private_key: ''
metadata_valid_secs: 60
metadata_cache_http: false
idp_entity_id: 'http://www.okta.com/exkd51oit40ss1AdT4h7'
idp_entity_id: ''
idp_single_sign_on_service: ''
idp_single_log_out_service: ''
idp_change_password_service: ''
Expand Down
4 changes: 4 additions & 0 deletions web/sites/default/settings.cloudgov.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,23 +124,27 @@
$config['config_split.config_split.non_production']['status'] = TRUE;
$config['samlauth.authentication']['sp_entity_id'] = 'dev.vote.gov';
$config['samlauth.authentication']['idp_single_sign_on_service'] = 'https://auth-preprod.gsa.gov/app/gsauth-preprod_devvotegov_1/exkcups2fwc3wTcTO4h7/sso/saml';
$config['samlauth.authentication']['idp_entity_id'] = 'http://www.okta.com/exkcups2fwc3wTcTO4h7';
break;

case "prod":
$config['config_split.config_split.production']['status'] = TRUE;
$config['samlauth.authentication']['sp_entity_id'] = 'cms.vote.gov';
$config['samlauth.authentication']['idp_single_sign_on_service'] = 'https://auth.gsa.gov/app/gsauth_cmsvotegov_1/exkd51oit40ss1AdT4h7/sso/saml';
$config['samlauth.authentication']['idp_entity_id'] = 'http://www.okta.com/exkd51oit40ss1AdT4h7';
break;

case "stage":
$config['config_split.config_split.non_production']['status'] = TRUE;
$config['samlauth.authentication']['sp_entity_id'] = 'cms-stage.vote.gov';
$config['samlauth.authentication']['idp_single_sign_on_service'] = 'https://auth-preprod.gsa.gov/app/gsauth-preprod_cmsstagevotegov_1/exkcupw8ddWb0oqaP4h7/sso/saml';
$config['samlauth.authentication']['idp_entity_id'] = 'http://www.okta.com/exkcupw8ddWb0oqaP4h7';
break;

case "test":
$config['config_split.config_split.non_production']['status'] = TRUE;
$config['samlauth.authentication']['sp_entity_id'] = 'cms-test.vote.gov';
$config['samlauth.authentication']['idp_single_sign_on_service'] = 'https://auth-preprod.gsa.gov/app/gsauth-preprod_cmstestvotegov_1/exkcuoyewsWHvYili4h7/sso/saml';
$config['samlauth.authentication']['idp_entity_id'] = 'http://www.okta.com/exkcuoyewsWHvYili4h7';
break;
}