Generate and Analyze HAR Files to Troubleshoot Auth0 Issues

Overview

An HTTP Archive (HAR) file is a JavaScript Object Notation (JSON) formatted log of web browser interactions with a web server. A HAR file shows the sequence of redirects that happen during a login transaction, making it an excellent resource for debugging authentication issues. Generate and analyze HAR files to accelerate troubleshooting.

 

NOTE: Remove or obfuscate all sensitive data, including confidential user information, Personally Identifiable Information (PII), and application information, before sharing a HAR file. Review the Related References section for more information on sanitizing HTTP traces.

Applies To
  • Auth0
  • Troubleshooting
  • HTTP Archive (HAR) files
Solution

How is a HAR file generated in Google Chrome?

 

Generate a HAR file in Google Chrome by opening a new incognito window and using the Developer Tools to export the network log.

  1. Close all incognito windows in Google Chrome.
  2. Open a new incognito window in Google Chrome.
  3. Navigate to View > Developer > Developer Tools.
  4. Choose the Network tab in the Developer Tools pane.
  5. Select 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. Select the down arrow to export the HAR file.
  9. Save the HAR file.

 

 

How is a HAR file generated in Safari?

 

Generate a HAR file in Safari by enabling the Develop menu and exporting the network log from the Web Inspector.

  1. Ensure the Show Develop menu in menu bar checkbox is selected 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. Select the Filter button to the right of All near the top-left of the Web Inspector and choose Preserve Log.
  5. Visit the web page where the issue occurs.
  6. Choose Develop > Show Web Inspector to open the Web Inspector window.
  7. Complete the steps on the page that trigger the issue.
  8. Select the Network tab.
  9. Select Export on the upper right side of the pane.
  10. Save the HAR file.
 

 

How is a HAR file generated in Firefox?

 

Generate a HAR file in Firefox by opening a new private window and saving the network log from the Developer Tools.

  1. Close all private windows in Firefox.
  2. Open a new private window in Firefox.
  3. Navigate to Tools > Developer > Network (press Ctrl + Shift + E).
  4. Select the Network tab and choose Persist Logs.
  5. Visit the page and complete the steps that trigger the issue.
  6. Choose the Network tab, right-click, and select Save All As HAR.
  7. Save the HAR file.

 

 

How is a HAR file generated in Microsoft Edge?

 

Generate a HAR file in Microsoft Edge by opening a new InPrivate window and exporting the network session from the Developer Tools.

  1. Close all InPrivate windows in Microsoft Edge.
  2. Open a new InPrivate window (press Ctrl + Shift + N).
  3. Navigate 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 (press Ctrl + S) and save the HAR file.

 

 

How is a HAR file generated in Internet Explorer?

 

Generate a HAR file in Internet Explorer by opening a new InPrivate window and exporting the network log from the F12 Developer Options.

  1. Close all InPrivate windows in Internet Explorer.
  2. Open a new InPrivate window in Internet Explorer (press Ctrl + Shift + P).
  3. Navigate 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 (press Ctrl + S).
  7. Save the HAR file.

 

 

How are HAR files analyzed?

 

Analyze a sanitized HAR file by opening it in a text editor or browser to view the recorded events.

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

 

NOTE: Review the Monitoring page for more details on each log event that can assist with troubleshooting.

 

 

Related References

Recommended content

No recommended content found...