When troubleshooting Okta issues, a link opening in a new browser tab or window fails to capture HTTP Archive (HAR) file data. This issue occurs because browser developer tools scope to a single tab by default and do not monitor network requests in new tabs. Resolve this issue by enabling the auto-open developer tools setting for pop-ups or by using the net-export utility to capture all web-related network traffic.
- Okta Identity Engine (OIE)
- Okta Classic Engine
- Google Chrome
- Microsoft Edge
Browser developer tools scope to a single tab by default. When a link opens a new tab or window, the developer tools from the original tab fail to monitor the network requests of the new tab.
How do browser developer tools automatically open for pop-ups?
Enable the auto-open developer tools setting in Chromium-based browsers to automatically open a new developer tools window for any new tab or pop-up and capture the network traffic.
- Open the Developer tools from the browser menu.
- Select the settings (gear) icon to open the Settings panel.
- Select the Auto-open DevTools for popups checkbox under the Global section.
- The browser automatically opens a new Developer tools window for any new tab or pop-up and captures the network traffic.
How does the net-export utility capture network traffic?
Use the pre-built net-export utility in Google Chrome or Microsoft Edge to capture all web-related network traffic into a single, relevant JSON log file.
- Navigate to
chrome://net-exportfor Google Chrome oredge://net-exportfor Microsoft Edge in a new browser tab.
- Select the Include raw bytes option.
- Select Start Logging to Disk.
- Choose a location and save the JSON log file.
- Reproduce the issue that requires capture.
- Return to the net-export tab and select Stop Logging.
Analyze the generated JSON file by importing it into a network log viewer tool, such as the NetLog Viewer.
NOTE: HTTP Archive (HAR) files and network logs often contain sensitive data, including secrets. Sanitize these files before sharing them.
