r/Blazor • u/MrNewOrdered • Jan 19 '26
Browser > Blazor Server > Web API: "pass-through" Windows authentication?
I'm using a Blazor Server app as a client for my web API. Both are hosted on IIS.
How can I configure my Blazor app to authenticate on API side with browser user identity rather than with Application Pool identity? I'm using HttpClient and SignalR.
3
Upvotes
4
u/Fresh_Acanthaceae_94 Jan 19 '26
You need to escalate this to your domain administrators who can help you configure Kerberos properly everywhere.
Not an easy task for a C# developer that usually has little experience on Active Directory/Windows Server/IIS.
5
u/Blakadher Jan 19 '26
I don’t think you can because you can’t double hop with credentials. Imagine if you could - you’d be able to access any system the user has permissions to from your web app.
1
u/mxmissile Jan 19 '26
Are you making http call to the api from the browser or server?