<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
Capture Network Traffic in New Browser Tabs for Okta Troubleshooting
Administration
Okta Classic Engine
Okta Identity Engine
Overview

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.

Applies To
  • Okta Identity Engine (OIE)
  • Okta Classic Engine
  • Google Chrome
  • Microsoft Edge
Cause

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.

Solution

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.

  1. Open the Developer tools from the browser menu.
  2. Select the settings (gear) icon to open the Settings panel.

Developer tools

  1. Select the Auto-open DevTools for popups checkbox under the Global section.

Developer tools

  1. 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.

  1. Navigate to chrome://net-export for Google Chrome or edge://net-export for Microsoft Edge in a new browser tab.

Network log export

  1. Select the Include raw bytes option.
  2. Select Start Logging to Disk.
  3. Choose a location and save the JSON log file.
  4. Reproduce the issue that requires capture.
  5. Return to the net-export tab and select Stop Logging.

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.

Related References

Loading
Capture Network Traffic in New Browser Tabs for Okta Troubleshooting