Generate HAR files

HTTP Archive (HAR) is a format used to track information that travels between web browsers and websites. Access Gateway primarily uses HAR files to replicate end user or administrator errors. The following sections describe how to generate HAR files using common browsers such as Chrome, Firefox, Safari, and Edge.

Before sending the HAR file to Okta, ensure that you remove or hide any sensitive information, such as any confidential or personally identifying information, or confidential application information, using a text editor. To learn more, see Sanitize HTTP Traces and How to Sanitize a HTTP Trace File Automatically.

Generate a HAR file in Chrome

  1. Close all incognito tabs and windows in Chrome.
  2. Open a new incognito window.
  3. Click the more actions menu (...) to the right of the toolbar and select More toolsDeveloper Tools.
  4. Select the Network tab.
  5. Ensure that Chrome is recording. A red button indicates that a recording is already in progress. Otherwise, click Record network log.
  6. Select Preserve Log.
  7. Clear any existing logs by clicking Clear network log ().
  8. Go to the page where the issue occurred and reproduce the issue.
  9. Click Export HAR (the down arrow icon) to export the file as HAR.
  10. Save the HAR file.

Generate a HAR file in Firefox

  1. Close all private tabs and windows in Firefox.
  2. Open a new private window.
  3. Go to the page to be recorded.
  4. Click the application menu () and then More toolsWeb Developer Tools.
  5. In the developer tools docked tab select Network.
  6. Go to the page where the issue occurred and reproduce the issue. The page automatically starts recording as you navigate.
  7. When you're finished, click Pause/Resume recording network log.
  8. Right-click anywhere in the File column and select Save All as HAR.
  9. Save the HAR file.

Generate a HAR file in Safari

  1. If the Develop menu doesn't appear in the menu bar, go to SafariSettings.
  2. Click Advanced.
  3. Select Show Develop menu in menu bar.
  4. Close all private tabs and windows in Safari.
  5. Open a new private window.
  6. From the Develop menu select Show Web Inspector.
  7. Click the Network tab.
  8. Go to the page where the issue occurred and reproduce the issue.
  9. When you're finished, click Export.
  10. Save the file.

Generate a HAR file in Edge

  1. Open Edge.
  2. Close all InPrivate windows.
  3. Press Ctrl + Shift + N to open a new InPrivate window.
  4. Click the Settings and more menu (...) to the right of the toolbar and select More toolsDeveloper tools.
  5. Click Network.
  6. Ensure that Edge is recording. A red button indicates that a recording is already in progress. Otherwise, click Record network log.
  7. Visit the page and complete the steps that trigger the issue.
  8. When you're finished, click Stop recording network log.
  9. Click Export HAR (the down arrow icon) or press Ctrl + S to export the file as HAR.
  10. Save the HAR file.

Related topics

Application process flow

Troubleshoot applications

Troubleshooting tips and techniques