SSR & NTLM Auth #866

Closed
opened 2025-08-09 17:17:58 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @DanHarman on 3/30/2017

Hi,

Been looking at this for a while now and wondering if anyone has any pointers. I've got a react redux app that is using NTLM provided by Microsoft.AspNetCore.Server.WebListener.

This fails when the initial SSR tries to make any api calls. Presumably this is because the server side node process is a new connection back to the web api and that would then require the full 3 step NTLM auth process?

There are node libraries that can do this, but I don't see how I can feed them the arguments they require (which includes pw). I've also tried proxying through the Authorization: NTLM **** header value from the initial asp.net request, but that doesn't seem to work when I set it as a header for the SSR fetches (I suspect its because that value is specific to the browser to server connection, and can't be used server to server?).

Any ideas - surely I can't be the only person needing to support NTLM?

*Originally created by @DanHarman on 3/30/2017* Hi, Been looking at this for a while now and wondering if anyone has any pointers. I've got a react redux app that is using NTLM provided by `Microsoft.AspNetCore.Server.WebListener`. This fails when the initial SSR tries to make any api calls. Presumably this is because the server side node process is a new connection back to the web api and that would then require the full 3 step NTLM auth process? There are node libraries that can do this, but I don't see how I can feed them the arguments they require (which includes pw). I've also tried proxying through the `Authorization: NTLM ****` header value from the initial asp.net request, but that doesn't seem to work when I set it as a header for the SSR fetches (I suspect its because that value is specific to the browser to server connection, and can't be used server to server?). Any ideas - surely I can't be the only person needing to support NTLM?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#866
No description provided.