Generating HAR files

HAR, short for HTTP Archive, is a format used for tracking information between a web browser and a website. Access Gateway primarily uses HAR files to replicate end user or administrator errors. The follow sections describe how to generate HAR files using common browsers such as ChromeFirefox and Safari.

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

Generate a HAR file using Chrome

  1. Open Chrome and navigate 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. If a recording is already in progress, the button will be red.
  5. Select Preserve Logs.
  6. Clear any existing logs by clicking Clear ()
  7. Navigate to the page where 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 using Firefox

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

Generate a HAR using 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 navigate to the page to be recorded.
  2. From the Develop menu select Show Web Inspector.
  3. Select the Network tab.
  4. Select Preserve Logs.
  5. Navigate 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