Skip to content

Commit

Permalink
Merge pull request #445 from okta/build-oie-20220914
Browse files Browse the repository at this point in the history
Updates OIE for 2022.09.1 (Prod)
  • Loading branch information
IanHakes-okta committed Sep 14, 2022
2 parents ec16326 + f2bee3f commit f4146c6
Show file tree
Hide file tree
Showing 1,173 changed files with 9,215 additions and 3,407 deletions.
2 changes: 1 addition & 1 deletion oie/Resources/Scripts/require.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
require.config({
urlArgs: 't=637981685078312069'
urlArgs: 't=637987709640794219'
});
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,18 @@ document.addEventListener('readyToInitCoveo', function () {
}
return content;
};
var coveo_org_id = getMadcapFlareVariable('coveo_org_id');
var isProd = window.location.host === 'help.okta.com';

var coveo_org_id = getMadcapFlareVariable(isProd ? 'coveo_org_id' : 'coveo_dev_org_id');
var coveo_rest_uri = getMadcapFlareVariable('coveo_rest_uri');
var coveo_search_url = getMadcapFlareVariable('coveo_search_url');
var coveo_token_url = getMadcapFlareVariable('coveo_token_url');
var coveo_dev_token = getMadcapFlareVariable('coveo_dev_token');
var tokenPromise = new Promise(function (resolve, reject) {
if (!isProd) {
resolve(coveo_dev_token);
return;
}
var MS_IN_A_DAY = 1000 * 60 * 60 * 24;
var tokenObj = JSON.parse(localStorage.getItem("CoveoSearchToken"));
var renewTokenNeeded = true;
Expand All @@ -26,8 +33,8 @@ document.addEventListener('readyToInitCoveo', function () {
}
else {
Coveo.HttpUtils.get(coveo_token_url, function (response) {
/* Code update below from Nate MacInnes for using search sandbox in review builds */
/* var newTokenObj = { value: JSON.parse(response), timestamp: new Date().getTime() }
/* Code update below from Nate MacInnes for using search sandbox in review builds */
/* var newTokenObj = { value: JSON.parse(response), timestamp: new Date().getTime() }
localStorage.setItem("CoveoSearchToken", JSON.stringify(newTokenObj));
resolve(newTokenObj.value); */
var parsedResponse = JSON.parse(response);
Expand Down
4 changes: 4 additions & 0 deletions oie/en-us/Content/Search.htm
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,10 @@
</div>
<div id="coveo_token_url" style="Display:None"><span class="mc-variable okta-coveo-config.SearchTokenServiceUrl variable">https://support.okta.com/help/services/apexrest/PublicSearchToken?site=help</span>
</div>
<div id="coveo_dev_org_id" style="Display:None"><span class="mc-variable okta-coveo-config.DevOrgId variable">oktanonproduction1il1gtac7</span>
</div>
<div id="coveo_dev_token" style="Display:None"><span class="mc-variable okta-coveo-config.DevSearchToken variable">xxb48840fe-d60d-4e40-b1d3-522d5a35c384</span>
</div>
<!-- End Coveo config parameters -->
<!-- ************** Coveo Search bar ************************************* -->
<!-- set margin and size in /Content/Resources/Scripts/coveo-resources/css/Coveo.Okta.StandaloneSearchbox.min.css to make room for replacing Flare-generated top-nav with HTML code (see below)-->
Expand Down
4 changes: 4 additions & 0 deletions oie/en-us/Content/Topics/API/trusted-origins-iframe.htm
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,10 @@
</div>
<div id="coveo_token_url" style="Display:None"><span class="mc-variable okta-coveo-config.SearchTokenServiceUrl variable">https://support.okta.com/help/services/apexrest/PublicSearchToken?site=help</span>
</div>
<div id="coveo_dev_org_id" style="Display:None"><span class="mc-variable okta-coveo-config.DevOrgId variable">oktanonproduction1il1gtac7</span>
</div>
<div id="coveo_dev_token" style="Display:None"><span class="mc-variable okta-coveo-config.DevSearchToken variable">xxb48840fe-d60d-4e40-b1d3-522d5a35c384</span>
</div>
<!-- End Coveo config parameters -->
<!-- ************** Coveo Search bar ************************************* -->
<!-- set margin and size in /Content/Resources/Scripts/coveo-resources/css/Coveo.Okta.StandaloneSearchbox.min.css to make room for replacing Flare-generated top-nav with HTML code (see below)-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,10 @@
</div>
<div id="coveo_token_url" style="Display:None"><span class="mc-variable okta-coveo-config.SearchTokenServiceUrl variable">https://support.okta.com/help/services/apexrest/PublicSearchToken?site=help</span>
</div>
<div id="coveo_dev_org_id" style="Display:None"><span class="mc-variable okta-coveo-config.DevOrgId variable">oktanonproduction1il1gtac7</span>
</div>
<div id="coveo_dev_token" style="Display:None"><span class="mc-variable okta-coveo-config.DevSearchToken variable">xxb48840fe-d60d-4e40-b1d3-522d5a35c384</span>
</div>
<!-- End Coveo config parameters -->
<!-- ************** Coveo Search bar ************************************* -->
<!-- set margin and size in /Content/Resources/Scripts/coveo-resources/css/Coveo.Okta.StandaloneSearchbox.min.css to make room for replacing Flare-generated top-nav with HTML code (see below)-->
Expand Down
4 changes: 4 additions & 0 deletions oie/en-us/Content/Topics/Apps/Apps_App_Integration_Wizard.htm
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,10 @@
</div>
<div id="coveo_token_url" style="Display:None"><span class="mc-variable okta-coveo-config.SearchTokenServiceUrl variable">https://support.okta.com/help/services/apexrest/PublicSearchToken?site=help</span>
</div>
<div id="coveo_dev_org_id" style="Display:None"><span class="mc-variable okta-coveo-config.DevOrgId variable">oktanonproduction1il1gtac7</span>
</div>
<div id="coveo_dev_token" style="Display:None"><span class="mc-variable okta-coveo-config.DevSearchToken variable">xxb48840fe-d60d-4e40-b1d3-522d5a35c384</span>
</div>
<!-- End Coveo config parameters -->
<!-- ************** Coveo Search bar ************************************* -->
<!-- set margin and size in /Content/Resources/Scripts/coveo-resources/css/Coveo.Okta.StandaloneSearchbox.min.css to make room for replacing Flare-generated top-nav with HTML code (see below)-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,10 @@
</div>
<div id="coveo_token_url" style="Display:None"><span class="mc-variable okta-coveo-config.SearchTokenServiceUrl variable">https://support.okta.com/help/services/apexrest/PublicSearchToken?site=help</span>
</div>
<div id="coveo_dev_org_id" style="Display:None"><span class="mc-variable okta-coveo-config.DevOrgId variable">oktanonproduction1il1gtac7</span>
</div>
<div id="coveo_dev_token" style="Display:None"><span class="mc-variable okta-coveo-config.DevSearchToken variable">xxb48840fe-d60d-4e40-b1d3-522d5a35c384</span>
</div>
<!-- End Coveo config parameters -->
<!-- ************** Coveo Search bar ************************************* -->
<!-- set margin and size in /Content/Resources/Scripts/coveo-resources/css/Coveo.Okta.StandaloneSearchbox.min.css to make room for replacing Flare-generated top-nav with HTML code (see below)-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,10 @@
</div>
<div id="coveo_token_url" style="Display:None"><span class="mc-variable okta-coveo-config.SearchTokenServiceUrl variable">https://support.okta.com/help/services/apexrest/PublicSearchToken?site=help</span>
</div>
<div id="coveo_dev_org_id" style="Display:None"><span class="mc-variable okta-coveo-config.DevOrgId variable">oktanonproduction1il1gtac7</span>
</div>
<div id="coveo_dev_token" style="Display:None"><span class="mc-variable okta-coveo-config.DevSearchToken variable">xxb48840fe-d60d-4e40-b1d3-522d5a35c384</span>
</div>
<!-- End Coveo config parameters -->
<!-- ************** Coveo Search bar ************************************* -->
<!-- set margin and size in /Content/Resources/Scripts/coveo-resources/css/Coveo.Okta.StandaloneSearchbox.min.css to make room for replacing Flare-generated top-nav with HTML code (see below)-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,10 @@
</div>
<div id="coveo_token_url" style="Display:None"><span class="mc-variable okta-coveo-config.SearchTokenServiceUrl variable">https://support.okta.com/help/services/apexrest/PublicSearchToken?site=help</span>
</div>
<div id="coveo_dev_org_id" style="Display:None"><span class="mc-variable okta-coveo-config.DevOrgId variable">oktanonproduction1il1gtac7</span>
</div>
<div id="coveo_dev_token" style="Display:None"><span class="mc-variable okta-coveo-config.DevSearchToken variable">xxb48840fe-d60d-4e40-b1d3-522d5a35c384</span>
</div>
<!-- End Coveo config parameters -->
<!-- ************** Coveo Search bar ************************************* -->
<!-- set margin and size in /Content/Resources/Scripts/coveo-resources/css/Coveo.Okta.StandaloneSearchbox.min.css to make room for replacing Flare-generated top-nav with HTML code (see below)-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,10 @@
</div>
<div id="coveo_token_url" style="Display:None"><span class="mc-variable okta-coveo-config.SearchTokenServiceUrl variable">https://support.okta.com/help/services/apexrest/PublicSearchToken?site=help</span>
</div>
<div id="coveo_dev_org_id" style="Display:None"><span class="mc-variable okta-coveo-config.DevOrgId variable">oktanonproduction1il1gtac7</span>
</div>
<div id="coveo_dev_token" style="Display:None"><span class="mc-variable okta-coveo-config.DevSearchToken variable">xxb48840fe-d60d-4e40-b1d3-522d5a35c384</span>
</div>
<!-- End Coveo config parameters -->
<!-- ************** Coveo Search bar ************************************* -->
<!-- set margin and size in /Content/Resources/Scripts/coveo-resources/css/Coveo.Okta.StandaloneSearchbox.min.css to make room for replacing Flare-generated top-nav with HTML code (see below)-->
Expand Down
4 changes: 4 additions & 0 deletions oie/en-us/Content/Topics/Apps/Apps_Apps.htm
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,10 @@
</div>
<div id="coveo_token_url" style="Display:None"><span class="mc-variable okta-coveo-config.SearchTokenServiceUrl variable">https://support.okta.com/help/services/apexrest/PublicSearchToken?site=help</span>
</div>
<div id="coveo_dev_org_id" style="Display:None"><span class="mc-variable okta-coveo-config.DevOrgId variable">oktanonproduction1il1gtac7</span>
</div>
<div id="coveo_dev_token" style="Display:None"><span class="mc-variable okta-coveo-config.DevSearchToken variable">xxb48840fe-d60d-4e40-b1d3-522d5a35c384</span>
</div>
<!-- End Coveo config parameters -->
<!-- ************** Coveo Search bar ************************************* -->
<!-- set margin and size in /Content/Resources/Scripts/coveo-resources/css/Coveo.Okta.StandaloneSearchbox.min.css to make room for replacing Flare-generated top-nav with HTML code (see below)-->
Expand Down
4 changes: 4 additions & 0 deletions oie/en-us/Content/Topics/Apps/Apps_Apps_Page.htm
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,10 @@
</div>
<div id="coveo_token_url" style="Display:None"><span class="mc-variable okta-coveo-config.SearchTokenServiceUrl variable">https://support.okta.com/help/services/apexrest/PublicSearchToken?site=help</span>
</div>
<div id="coveo_dev_org_id" style="Display:None"><span class="mc-variable okta-coveo-config.DevOrgId variable">oktanonproduction1il1gtac7</span>
</div>
<div id="coveo_dev_token" style="Display:None"><span class="mc-variable okta-coveo-config.DevSearchToken variable">xxb48840fe-d60d-4e40-b1d3-522d5a35c384</span>
</div>
<!-- End Coveo config parameters -->
<!-- ************** Coveo Search bar ************************************* -->
<!-- set margin and size in /Content/Resources/Scripts/coveo-resources/css/Coveo.Okta.StandaloneSearchbox.min.css to make room for replacing Flare-generated top-nav with HTML code (see below)-->
Expand Down
4 changes: 4 additions & 0 deletions oie/en-us/Content/Topics/Apps/Apps_Bookmark_App.htm
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,10 @@
</div>
<div id="coveo_token_url" style="Display:None"><span class="mc-variable okta-coveo-config.SearchTokenServiceUrl variable">https://support.okta.com/help/services/apexrest/PublicSearchToken?site=help</span>
</div>
<div id="coveo_dev_org_id" style="Display:None"><span class="mc-variable okta-coveo-config.DevOrgId variable">oktanonproduction1il1gtac7</span>
</div>
<div id="coveo_dev_token" style="Display:None"><span class="mc-variable okta-coveo-config.DevSearchToken variable">xxb48840fe-d60d-4e40-b1d3-522d5a35c384</span>
</div>
<!-- End Coveo config parameters -->
<!-- ************** Coveo Search bar ************************************* -->
<!-- set margin and size in /Content/Resources/Scripts/coveo-resources/css/Coveo.Okta.StandaloneSearchbox.min.css to make room for replacing Flare-generated top-nav with HTML code (see below)-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,10 @@
</div>
<div id="coveo_token_url" style="Display:None"><span class="mc-variable okta-coveo-config.SearchTokenServiceUrl variable">https://support.okta.com/help/services/apexrest/PublicSearchToken?site=help</span>
</div>
<div id="coveo_dev_org_id" style="Display:None"><span class="mc-variable okta-coveo-config.DevOrgId variable">oktanonproduction1il1gtac7</span>
</div>
<div id="coveo_dev_token" style="Display:None"><span class="mc-variable okta-coveo-config.DevSearchToken variable">xxb48840fe-d60d-4e40-b1d3-522d5a35c384</span>
</div>
<!-- End Coveo config parameters -->
<!-- ************** Coveo Search bar ************************************* -->
<!-- set margin and size in /Content/Resources/Scripts/coveo-resources/css/Coveo.Okta.StandaloneSearchbox.min.css to make room for replacing Flare-generated top-nav with HTML code (see below)-->
Expand Down
4 changes: 4 additions & 0 deletions oie/en-us/Content/Topics/Apps/Apps_Configure_Template_App.htm
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,10 @@
</div>
<div id="coveo_token_url" style="Display:None"><span class="mc-variable okta-coveo-config.SearchTokenServiceUrl variable">https://support.okta.com/help/services/apexrest/PublicSearchToken?site=help</span>
</div>
<div id="coveo_dev_org_id" style="Display:None"><span class="mc-variable okta-coveo-config.DevOrgId variable">oktanonproduction1il1gtac7</span>
</div>
<div id="coveo_dev_token" style="Display:None"><span class="mc-variable okta-coveo-config.DevSearchToken variable">xxb48840fe-d60d-4e40-b1d3-522d5a35c384</span>
</div>
<!-- End Coveo config parameters -->
<!-- ************** Coveo Search bar ************************************* -->
<!-- set margin and size in /Content/Resources/Scripts/coveo-resources/css/Coveo.Okta.StandaloneSearchbox.min.css to make room for replacing Flare-generated top-nav with HTML code (see below)-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,10 @@
</div>
<div id="coveo_token_url" style="Display:None"><span class="mc-variable okta-coveo-config.SearchTokenServiceUrl variable">https://support.okta.com/help/services/apexrest/PublicSearchToken?site=help</span>
</div>
<div id="coveo_dev_org_id" style="Display:None"><span class="mc-variable okta-coveo-config.DevOrgId variable">oktanonproduction1il1gtac7</span>
</div>
<div id="coveo_dev_token" style="Display:None"><span class="mc-variable okta-coveo-config.DevSearchToken variable">xxb48840fe-d60d-4e40-b1d3-522d5a35c384</span>
</div>
<!-- End Coveo config parameters -->
<!-- ************** Coveo Search bar ************************************* -->
<!-- set margin and size in /Content/Resources/Scripts/coveo-resources/css/Coveo.Okta.StandaloneSearchbox.min.css to make room for replacing Flare-generated top-nav with HTML code (see below)-->
Expand Down
Loading

0 comments on commit f4146c6

Please sign in to comment.