madskristensen / WebEssentials.AspNetCore.ServiceWorker

Other
342 stars 61 forks source link

ADB2C infinite loop #88

Open xbaha opened 2 years ago

xbaha commented 2 years ago

When Azure ADB2C cookie expired and I was prompted to log in again, I was not able to do so because the browser keeps redirecting back and forth, as it seems it's still using the cached cookie, but I am not sure. after removing the service worker from the project and from the browser, I was able to log in. I am not sure how to prevent the service worker from caching the cookie if's possible? b2c network

kennethhaspeel commented 2 years ago

I'm having this problem too. If i disable the nuget package, everything works fine. If i clear the cookie, everything works fine. I'm also seeing a lot of redirects. So i'm assuming i have the same problem.

I'm having this problem since a month or two, when we switched to Azure hybrid AD