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

.NET 8 Blazor web app - single sign-on with Windows credentials

$
0
0

I want to migrate my .NET 7 Blazor Server solution to .NET 8 Blazor web app template.

When I first time come to the page, everything is ok, when I refresh the page I get an error:

Access to host localhost is denied.
You do not have user rights to view this page.
HTTP 403 ERROR

Here is my sample project: https://easyupload.io/5oejk7

If anyone has already faced something like that any help is more than welcome.

What I realized is that CustomServerAuthenticationStateProvider is not triggered on page refresh. I was checking already everywhere and checking a lot of different approaches but none of them work, so I can't figure out what I need to do to solve that.


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>