Skip to content

Updates OIE for 2022.09.1 (Prod) #445

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

Merged
merged 1 commit into from
Sep 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
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