When browsing to an OAG application, a semicolon ";" character appears in the top left corner of the web browser. This is only seen when accessing the application via OAG; the semicolon is not seen when bypassing OAG.
- Okta Access Gateway (OAG)
An extra semicolon was included in the Advanced Policy.
Please review the Advanced Policies being applied to this OAG application and remove the extra semicolon.
In this example, an attempt was made to configure Advanced Policy for Extended AJAX Session Handling per the Integrating Third-Party Tools or Packages in OAG documentation.
Per the documentation, there should be no ";" in between the final </script> and </head>, but a semicolon was mistakenly added there, as in the following example. This manifested the problem.
subs_filter "</head>"
"<script type=\"text/javascript\">
window.oagSMParams={\"oagSMTimeoutSeconds\" : 60, \"oagSMAlertEnabled\" : true,
\"oagSMAlertMessage\" : \"Your message to be displayed\"};
</script>
<script type=\"text/javascript\" src=\"/AQUNAAsIAAM/dist/jquery-2.2.4.min.js\">
</script>
<script src=\"/AQUNAAsIAAM/js/sessionTimeout.js\"></script> ;
</head>";
Removing the semicolon so that the policy looked like the following example resolved the issue:
subs_filter "</head>"
"<script type=\"text/javascript\">
window.oagSMParams={\"oagSMTimeoutSeconds\" : 60, \"oagSMAlertEnabled\" : true,
\"oagSMAlertMessage\" : \"Your message to be displayed\"};
</script>
<script type=\"text/javascript\" src=\"/AQUNAAsIAAM/dist/jquery-2.2.4.min.js\">
</script>
<script src=\"/AQUNAAsIAAM/js/sessionTimeout.js\"></script>
</head>";
