How to export HAR file for SSO troubleshooting
When experiencing Single Sign-On (SSO) issues in Langfuse, you need to export a HAR file to help Langfuse support to diagnose the problem.
What is a HAR file?
A HAR file is a JSON-formatted archive that logs all HTTP requests made by your browser, including:
- Request and response headers
- Cookies and session data
- Timing information
- Response content
- Error details
Browser-specific instructions
Google Chrome
- Open Developer Tools: Press
F12
orCtrl+Shift+I
(Windows/Linux) orCmd+Option+I
(Mac) - Access Network Tab: Click on the “Network” tab
- Configure settings:
- Ensure the red record button is active
- Check “Preserve log” to keep logs during navigation
- Clear existing logs: Click the clear button (🚫)
- Reproduce the issue: Refresh the page and perform the SSO steps that cause problems
- Export: Right-click in the network log and select “Save all as HAR with content”
Mozilla Firefox
- Open Developer Tools: Press
F12
orCtrl+Shift+I
- Access Network Tab: Click on the “Network” tab
- Configure: Check “Persist Logs” and clear existing logs
- Reproduce the issue: Refresh and perform the problematic SSO steps
- Export: Right-click in the network requests and select “Save All As HAR”
Microsoft Edge
- Open Developer Tools: Press
F12
orCtrl+Shift+I
- Access Network Tab: Click on the “Network” tab
- Configure: Ensure recording is active and “Preserve log” is checked
- Reproduce the issue: Clear logs, refresh, and perform SSO steps
- Export: Click the download icon (⬇️) or right-click and select “Save as HAR with Content”
Safari
- Enable Developer Menu: Safari → Preferences → Advanced → Check “Show Develop menu”
- Open Web Inspector: Develop → Show Web Inspector or
Cmd+Option+I
- Access Network Tab: Click on the “Network” tab
- Configure: Enable “Preserve Log”
- Reproduce the issue: Clear logs, refresh, and perform SSO steps
- Export: Click the export icon (📤) and choose “Export HAR”
Was this page helpful?