I'm developing a C# .NET8 MudBlazor application that uses Microsoft Graph for user authentication. I've encountered an issue where, if the page times out (loses connection after being idle), refreshing the page results in the URL not working anymore.
The only way I can access the page again is by opening it in a different browser, and then returning to my original browser. This behavior is consistent and reproducible.
I'm looking for any suggestions on what might be causing this issue and how to resolve it. Is it related to session or cookie management? Or could it be an issue with how my application handles URL changes? Any insights would be greatly appreciated.
I tried all the refreshing methods, in hopes of getting the website to work again.I tried opening the webpage on another computer, first access was white screen, then opened it in another browser, and returning to my original browser. Worked again.