---
title: How to export HAR file for SSO troubleshooting
description: Step-by-step guide to export HAR files from different browsers when experiencing SSO authentication issues in Langfuse
tags: [administration]
---

# 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](<https://en.wikipedia.org/wiki/HAR_(file_format)>) 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

1. **Open Developer Tools**: Press `F12` or `Ctrl+Shift+I` (Windows/Linux) or `Cmd+Option+I` (Mac)
2. **Access Network Tab**: Click on the "Network" tab
3. **Configure settings**:
   - Ensure the red record button is active
   - Check "Preserve log" to keep logs during navigation
4. **Clear existing logs**: Click the clear button (🚫)
5. **Reproduce the issue**: Refresh the page and perform the SSO steps that cause problems
6. **Export**: Right-click in the network log and select "Save all as HAR with content"

### Mozilla Firefox

1. **Open Developer Tools**: Press `F12` or `Ctrl+Shift+I`
2. **Access Network Tab**: Click on the "Network" tab
3. **Configure**: Check "Persist Logs" and clear existing logs
4. **Reproduce the issue**: Refresh and perform the problematic SSO steps
5. **Export**: Right-click in the network requests and select "Save All As HAR"

### Microsoft Edge

1. **Open Developer Tools**: Press `F12` or `Ctrl+Shift+I`
2. **Access Network Tab**: Click on the "Network" tab
3. **Configure**: Ensure recording is active and "Preserve log" is checked
4. **Reproduce the issue**: Clear logs, refresh, and perform SSO steps
5. **Export**: Click the download icon (⬇️) or right-click and select "Save as HAR with Content"

### Safari

1. **Enable Developer Menu**: Safari → Preferences → Advanced → Check "Show Develop menu"
2. **Open Web Inspector**: Develop → Show Web Inspector or `Cmd+Option+I`
3. **Access Network Tab**: Click on the "Network" tab
4. **Configure**: Enable "Preserve Log"
5. **Reproduce the issue**: Clear logs, refresh, and perform SSO steps
6. **Export**: Click the export icon (📤) and choose "Export HAR"

<!-- agent-instructions -->

---

## Agent Instructions

This page is part of the [Langfuse](https://langfuse.com) documentation, published as plain Markdown for AI agents. Every page is available as Markdown by appending `.md` to its URL, or by sending an `Accept: text/markdown` header. This page: `https://langfuse.com/faq/all/sso-har-file-export.md`.

### Querying these docs

If the answer is not on this page, query the documentation instead of guessing:

- **Semantic search** across all Langfuse docs, returning an answer with the relevant pages and excerpts. Ask a specific, self-contained question:

  ```bash
  curl -sG "https://langfuse.com/api/search-docs" --data-urlencode "query=How do I trace a LangGraph agent?"
  ```

- **Index of every page**: <https://langfuse.com/llms.txt>, with per-section indexes [llms-docs.txt](https://langfuse.com/llms-docs.txt), [llms-integrations.txt](https://langfuse.com/llms-integrations.txt), and [llms-self-hosting.txt](https://langfuse.com/llms-self-hosting.txt).

### Before writing Langfuse code

- **Install the [Langfuse Agent Skill](https://langfuse.com/docs/api-and-data-platform/features/agent-skill).** It encodes Langfuse's own best practices for instrumentation, prompt management, and evaluation, and materially improves results.
- **Read [What does a good trace look like?](https://langfuse.com/docs/observability/best-practices.md)** before instrumenting an application.
- **Verify endpoints, parameters, and response fields** against the [API reference](https://api.reference.langfuse.com) instead of inferring them from code examples.
- **Use the [Langfuse CLI](https://langfuse.com/docs/api-and-data-platform/features/cli)** (`npx langfuse-cli api <resource> <action>`) to read or write traces, prompts, datasets, and scores from the terminal.

Found an error in these docs? Please open an issue at <https://github.com/langfuse/langfuse-docs/issues>.
