How do I record a .har file?
A .har file tracks all the logging of web browser's interaction with a site. Recording a .har file that shows all the requests and / or errors in your network tab provides valuable insights for the Frontegg team and helps troubleshooting any issues you report.
To record a .har file please take the following steps:
Right-click in the browser window with your Frontegg login / your app integrated with Frontegg or and select Inspect.
Click the Network tab in the panel that appears.
Make sure the 'Preserve log' section is checked:
- After completing the flow that you were getting errors for you can click on the arrow down symbol to export your .har file.
- Once you downloaded the .har file, you should sanitize it from sensitive values such as access information and PII, in order to do so you can use Frontegg's Harmor as long as you have NPM (Node.js) installed.
How to use Harmor?
Download the sanitization template here. Open Terminal/CMD in the .har location template and .har should be in the same directory