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

OpenIdConnect Blazor Firefox random signOut

$
0
0

We have our implementation of OAuth protocol in an ASP.NET Core 9 Minimal API. Everything works fine in Chrome and Edge. In Firefox (v 135) it works as well but sometimes (e.g 1 of 10 attempts) the logout is called after signin-oidc response. The login page is in Blazor (server side rendering).

The steps to reproduce are simple: login page, enter credentials, post login, waiting for authentication. Then logout and repeat the steps until the logout is called "automatically".

I have the Context.SignOut only on one place in my code and this breakpoint didn't hit during this error. The debugging source code of Microsoft.AspNetCore.Authentication.OpenIdConnect library does not call Context.SignOut too. So I don't know where the call of logout comes from.

Here is the log from Firefox console (the red marked line).

enter image description here

Do you have please any idea where is the problem?

Thanks


Viewing all articles
Browse latest Browse all 4839

Trending Articles