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, and Safari.

HAR files represent a 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 Log.
  6. Clear any existing logs by clicking Clear network log ().
  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 application menu () and then More tools > Web Developer Tools.
  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 file in Safari

Do the following steps if you don’t see the Develop menu in the menu bar:

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

  1. Open Safari and go to the page to be recorded.
  2. From the Develop menu select Show Web Inspector.
  3. Select the Network tab.
  4. Go to the page where the issue occurred and reproduce the issue.
  5. In the Name column, right-click the file where the issue occurred and then select Export HAR.
  6. Save the file.

Related topics

Application process flow

Troubleshoot applications

Troubleshooting tips and techniques