Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Intermittent issue with AAD Authentication, once in a while freezes on `Checking login state ...`

$
0
0

Most of cases works well, but once in a while freezes on Checking login state ... message with no error. No login window displayed as the token is in a cookie (previously logged in)

It's a standard Azure AAD login feature with a button that redirects user to authentication/login, this is added by blazor wasm workload, and I do not remember modifying it. Configuration looks fine

"AzureAd": {"ClientId": "...","Authority": "...","ValidateAuthority": false    },

piece of code in the Blazor page that starts sign on is

<NotAuthorized><a href="authentication/login">Log in</a></NotAuthorized>

It works as expected in most of cases under debugger, except for few occasions when it hangs forever on the message Checking login state ... (blank page), need to stop the debugger and restart app again. Usually it's not fixed from the first restart, need to run multiple attempts, neither server not client error occur, Edge console looks clean. Not sure how to troubleshoot the error and what might be wrong. Could it be a glitch on AAD service side, maybe the service goes temp unavailable?


Viewing all articles
Browse latest Browse all 4839

Trending Articles