Skip to content

Commit

Permalink
Vault secrets. (#1999)
Browse files Browse the repository at this point in the history
Conditionally add SiteminderLogoutUrl.
  • Loading branch information
seeker25 authored Jun 21, 2022
1 parent b29e792 commit 6385fe3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion auth-web/devops/vaults.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
"fas-ui",
"ppr-ui",
"registry",
"api-document"
"api-document",
"siteminder"
]
},
{
Expand Down
4 changes: 3 additions & 1 deletion auth-web/src/util/config-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ export default class ConfigHelper {
sessionStorage.setItem(SessionStorageKeys.RegistryHomeUrl, ConfigHelper.getRegistryHomeURL())
sessionStorage.setItem(SessionStorageKeys.NameRequestUrl, ConfigHelper.getNameRequestUrl())
sessionStorage.setItem(SessionStorageKeys.PprWebUrl, ConfigHelper.getPPRWebUrl())
sessionStorage.setItem(SessionStorageKeys.SiteminderLogoutUrl, ConfigHelper.getSiteminderLogoutUrl())
if (ConfigHelper.getSiteminderLogoutUrl()) {
sessionStorage.setItem(SessionStorageKeys.SiteminderLogoutUrl, ConfigHelper.getSiteminderLogoutUrl())
}
}

/**
Expand Down

0 comments on commit 6385fe3

Please sign in to comment.