Generate and Analyze HAR Files

A HAR (HTTP Archive) file is a JSON-formatted log of a web browser's interactions with a web server.

A HAR file shows the sequence of redirects that happen during a login transaction, which makes it an excellent resource for debugging authentication issues. Including a HAR file in your support requests can help accelerate the troubleshooting process.

Generate HAR files

You can generate a HAR file within most web browsers using the built-in developer or inspector tools.

Google Chrome

  1. Close all incognito windows in Google Chrome.

  2. Open a new incognito window in Google Chrome.

  3. Go to View > Developer > Developers Tools.

  4. In the Developer Tools pane, choose the Network tab.

  5. Check the Preserve Log checkbox to record all interactions.

  6. Visit the page and complete the steps that trigger the issue.

  7. Choose the Network tab.

  8. Click the down arrow to export the HAR file.

  9. Save the HAR file.

Safari

  1. Ensure that Show Develop menu in menu bar checkbox is checked under Safari > Preferences > Advanced.

  2. Choose File > Open New Private Window.

  3. Choose Show Web Inspector in the Developer menu, then navigate to the Network tab.

  4. To the right of All near the top-left of the Web Inspector, click the Filter button and choose Preserve Log.

  5. Visit the web page where the issue occurs.

  6. Choose Develop > Show Web Inspector. The Web Inspector window appears.

  7. Complete the steps on the page that trigger the issue.

  8. Select the Network tab.

  9. Click Export on the upper right side of the pane.

  10. Save the HAR file.

Firefox

  1. Close all private windows in Firefox.

  2. Open a new private window in Firefox.

  3. Go to Tools > Developer > Network (Ctrl + Shift + E).

  4. Click the Network tab and choose Persist Logs.

  5. Visit the page and complete the steps that trigger the issue.

  6. Choose the Network tab and right click and then select Save All As Har.

  7. Save the HAR file.

Microsoft Edge

  1. Close all InPrivate windows in Microsoft Edge.

  2. Open a new InPrivate window (Ctrl + Shift + N).

  3. Go to Settings and more (the ... icon) then choose More Tools > Developer Tools.

  4. Start a profiling session on the Network tab of the Developer Tools toolbar.

  5. Visit the page and complete the steps that trigger the issue.

  6. Select Export as HAR (Ctrl + S) and save the HAR file.

Internet Explorer

  1. Close all InPrivate windows in Internet Explorer.

  2. Open a new InPrivate window in Internet Explorer (Ctrl + Shift + P).

  3. Go to Tools > F12 Developer Options > Network.

  4. Ensure Clear entries on navigate is switched off.

  5. Visit the page and complete the steps that trigger the issue.

  6. Choose the Network tab and select Export as HAR (Ctrl + S).

  7. Save the HAR file.

Analyze HAR files

Auth0 does not use and does not endorse using any third-party application, tool, or software to analyze HAR files.

After you have sanitized a HAR file, you can open it in a text-editor or browser to view the recorded events.

Learn more