Generating HAR files

HTTP Archive (HAR) is a format used to track information 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, and Safari.

HAR files represent recording of browser activity and possibly contain sensitive data, including the content of the pages visited, headers, cookies and other data. While this allows Okta staff to replicate browser activity and troubleshoot issues, malicious actors could use these files to impersonate you. Take care when creating and sharing HAR files.

Generate a HAR file in Chrome

  1. Open Chrome and go to the page to be recorded.
  2. Click the more actions menu (...) to the right of the toolbar and select More tools > Developer tools.
  3. Select the Network tab.
  4. Ensure that Chrome is recording by clicking the gray record button. A red button indicates that a recording is already in progress.
  5. Select Preserve Logs.
  6. Clear any existing logs by clicking Clear ()
  7. Go to the page where the issue occurred and reproduce the issue.
  8. Right-click anywhere in the list of network requests and select Save all as HAR with content.
  9. Save the file.

Generate a HAR file in Firefox

  1. Open Firefox and go to the page to be recorded.
  2. Click the more menu() and then Web Developer > Network.
  3. In the developer tools docked tab select Network.
  4. Go to the page where the issue occurred and reproduce the issue. The page automatically starts recording as you navigate.
  5. Right-click anywhere in the File column and select Save All as HAR.
  6. Save the file.

Generate a HAR in Safari

If you don’t see the Develop menu in the menu bar.

  1. Select Safari > Preferences.
  2. Click Advanced.
  3. Select Show Develop menu in menu bar.

  1. Open Firefox and go to the page to record.
  2. From the Develop menu select Show Web Inspector.
  3. Select the Network tab.
  4. Select Preserve Logs.
  5. Go to the page where issue occurred and reproduce the issue.
  6. Click Export and save the HAR file.
  7. Save the file.

Related topics

Application process flow

Troubleshoot applications

Troubleshooting tips and techniques