0

Anytime I have dev tools open on localhost my cookies are deleted and I am redirected to the login page on every page load which means I cannot use dev tools to debug or get insight into my site. I have localhost setup with a valid SSL cert (self-signed) and the site works normally until I open dev tools. How do I fix or disable this new "security" or setting in chrome?

Legion
  • 796
  • 7
  • 12
  • I think this will solve your problem https://stackoverflow.com/questions/23751767/chrome-disable-cache-for-localhost-only – Oden May 25 '21 at 23:24
  • @Oden thanks for reaching out, I tried it out just for fun but it didn't change anything. I don't know why disabling cache would help prevent cookies from being deleted anyways – Legion May 25 '21 at 23:29

1 Answers1

0

After lots of issues and trying out many different things I came across this post/answer

When adding a Javascript library, Chrome complains about a missing source map, why?

Turns out that when I opened Dev Tools it would request a CSS map and the request was being sent to a different firewall causing my application to require me to re-authenticate every time this resource was requested. Turning off the CSS source map option fixed the issue

Legion
  • 796
  • 7
  • 12