Generate and Analyze HAR Files to Troubleshoot Auth0 Issues
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.
- Auth0
- Troubleshooting
- HTTP Archive (HAR) files
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.
- Close all incognito windows in Google Chrome.
- Open a new incognito window in Google Chrome.
- Navigate to View > Developer > Developer Tools.
- Choose the Network tab in the Developer Tools pane.
- Select the Preserve log checkbox to record all interactions.
- Visit the page and complete the steps that trigger the issue.
- Choose the Network tab.
- Select the down arrow to export the HAR file.
- 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.
- Ensure the Show Develop menu in menu bar checkbox is selected under Safari > Preferences > Advanced.
- Choose File > Open New Private Window.
- Choose Show Web Inspector in the Developer menu, then navigate to the Network tab.
- Select the Filter button to the right of All near the top-left of the Web Inspector and choose Preserve Log.
- Visit the web page where the issue occurs.
- Choose Develop > Show Web Inspector to open the Web Inspector window.
- Complete the steps on the page that trigger the issue.
- Select the Network tab.
- Select Export on the upper right side of the pane.
- 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.
- Close all private windows in Firefox.
- Open a new private window in Firefox.
- Navigate to Tools > Developer > Network (press Ctrl + Shift + E).
- Select the Network tab and choose Persist Logs.
- Visit the page and complete the steps that trigger the issue.
- Choose the Network tab, right-click, and select Save All As HAR.
- 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.
- Close all InPrivate windows in Microsoft Edge.
- Open a new InPrivate window (press Ctrl + Shift + N).
- Navigate to Settings and more (the ... icon), then choose More Tools > Developer Tools.
- Start a profiling session on the Network tab of the Developer Tools toolbar.
- Visit the page and complete the steps that trigger the issue.
- 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.
- Close all InPrivate windows in Internet Explorer.
- Open a new InPrivate window in Internet Explorer (press Ctrl + Shift + P).
- Navigate to Tools > F12 Developer Options > Network.
- Ensure Clear entries on navigate is switched off.
- Visit the page and complete the steps that trigger the issue.
- Choose the Network tab and select Export as HAR (press Ctrl + S).
- 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.