You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/identityserver/troubleshooting/export-har-files.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,18 +13,18 @@ sidebar:
13
13
Before sharing any HAR files that contain sensitive values for diagnosing, you can sanitize that data by following the [steps below](#sanitize-a-har-file).
14
14
:::
15
15
16
-
## Generating a HAR file
17
-
18
-
Generating a HAR file involves steps using your web browser and its associated developer tools. The browser-specific steps outlined below are all similar to each other. Other browsers will have similar steps.
19
-
20
-
### HAR File Considerations
16
+
## HAR File Considerations
21
17
22
18
* Consider using an **incognito window** of your browser. If you do, close all browser incognito instances you may have open and then open a new one before creating the HAR file to ensure the cache is cleared.
23
19
* Preserve the log across page navigations
24
20
* If you are navigating to different pages (ex: logging in to a site with OAuth redirects), then any network calls made before the last redirect will be lost. Preserving the logs across page navigations aids in diagnosing issues. The below steps include instructions to preserve network logs while navigating across multiple pages.
25
21
* Generate HAR files with sensitive data
26
22
* It is helpful to know that certain fields are have been set, but not necessarily the actual value. Some browsers will exclude sensitive data in HAR file exports by default. The below steps include instructions to enable sensitive data in HAR file exports for browsers that do not include it by default.
27
23
24
+
## Generating a HAR file
25
+
26
+
Generating a HAR file involves steps using your web browser and its associated developer tools. The browser-specific steps outlined below are all similar to each other. Other browsers will have similar steps.
27
+
28
28
### Google Chrome
29
29
30
30
1. Open the browser dev tools <https://developer.chrome.com/docs/devtools/open>.
@@ -55,11 +55,11 @@ Generating a HAR file involves steps using your web browser and its associated d
55
55
1. In the browser, visit the page(s) and perform the steps that trigger the issue.
56
56
1. In the Network tab of the dev tools, click the down arrow and select the "Export HAR (with sensitive data)..." option to export the HAR file and save it locally.
57
57
58
-
###Sanitize a HAR file
58
+
## Sanitize a HAR file
59
59
60
60
Before sharing your HAR file with anyone, you should remove any sensitive data. You can do this manually by opening the HAR file with any JSON text editor and removing the sensitive data. We recommend replacing the data with a placeholder rather than deleting the entry. When diagnosing issues, it's helpful to know whether a field was set.
61
61
62
-
###Practice
62
+
## Practice
63
63
64
64
If you would like to practice with a small sample, you can login to the Duende Demo Server and generate a HAR file from those interactions.
0 commit comments