diff --git a/src/components/custom-widget/listenForSecretsRequests.ts b/src/components/custom-widget/listenForSecretsRequests.ts index 1da8becf0..fb67d6745 100644 --- a/src/components/custom-widget/listenForSecretsRequests.ts +++ b/src/components/custom-widget/listenForSecretsRequests.ts @@ -23,6 +23,7 @@ export class ListenForSecretsRequests { const managementApiUrl = await settingsProvider.getSetting(SettingNames.managementApiUrl); const secrets: Secrets = { + ["parentLocation" as any]: JSON.parse(JSON.stringify(window.location)), // override typescript until new version of the package is released TODO fix managementApiUrl: Utils.ensureUrlArmified(managementApiUrl), apiVersion: managementApiVersion };