<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

Generate a HAR Capture on an iOS Device for Okta Troubleshooting

Single Sign-On
Okta Classic Engine
Okta Identity Engine

Overview

Generating an HTTP Archive (HAR) file on an iOS device captures web requests to identify potential issues related to performance and page rendering. Administrators can generate a HAR file by enabling the Web Inspector on the iOS device and connecting it to a Mac running Safari.

Applies To

  • Okta Identity Engine (OIE)
  • Okta Classic Engine
  • Apple iOS
  • Apple iPadOS
  • Apple macOS

Solution

What steps are required to generate a HAR file on an iOS device?

Enable the Web Inspector on the iOS device, activate the Develop menu in Safari on a Mac, and connect the device to capture and export the HTTP traffic.

  1. On an iOS 18 or newer device, navigate to Settings > Apps > Safari > Advanced and enable Web Inspector. For iOS 17 or older, navigate to Settings > Safari > Advanced and enable Web Inspector.
  2. Open Safari on the Mac.
  3. Navigate to Safari > Settings in the top menu bar and select Advanced.
  4. Select the Show features for web developers checkbox.
  5. Connect the iOS device to the Mac using a Universal Serial Bus (USB) cable and trust the computer if the device prompts for confirmation.
  6. Open Safari on the iOS device and reproduce the issue.
  7. On the Mac, open Safari, select Develop in the menu bar, select the connected iOS device, and select the active web page session to open the Web Inspector window.
  8. Navigate to the Network tab in the Web Inspector window.
  9. Select the Export button at the top-right of the Network tab to export the HAR file.
  10. Upload the HAR file to the Support Portal to automatically sanitize the HTTP traces.

 

NOTE: Other alternatives to capture HTTP and Secure Sockets Layer (SSL) traffic include using a web debugging proxy tool (Charles Proxy or Fiddler Everywhere) for advanced troubleshooting scenarios. Sanitize the files before sending any HTTP traces from other tools to Okta for analysis.

 

Related References

Loading
Generate a HAR Capture on an iOS Device for Okta Troubleshooting | Okta Support