Hello
We are facing an intermittent issue in our web application where for some users for some reasons http requests are ending in error ( 400s ) esp. during token refresh with authentication server.
Normally, we would ask user to generate the HAR ( HTTP archive file ) and we inspect to find the root cause. However, at this time it is challenging to collect the HAR file manually because the error is not consistent. Sometimes it seems to goes away but suddenly appears causing bad user experience.
It is also hard to add logs etc. because the token refresh happens on the client side from the browser so technically there is no traces of it on the server side.
I am looking into ways to automate generating the HAR file but it seems not straightforward to do it.
If anyone of you have faces similar issue in the past and find a way to add such error logging in a web service let me know. Any other thoughts and suggestions are highly appreciated.
Thank you in advance.
I've seen HAR files containing Google account session tokens attached in plain text to Jira tickets. If you end up leaking those tokens your customers will not be amused.
See the Okta breach:
https://www.rezonate.io/blog/har-files-attack-okta-customers...
reply