asp-prerender-module issue with Windows Authentication enabled #727

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

Originally created by @ghost on 5/24/2017

In the Angular template, enabling Windows Authentication causes the /fetch-data route to fail with the error Exception: Call to Node module failed with error: Response with status: 401 Unauthorized for URL: /api/SampleData/WeatherForecasts

Changing "asp-prerender-module" to "asp-ng2-prerender-module" in Views/Home/Index.cshtml line 16 seems to fix the issue.

*Originally created by @ghost on 5/24/2017* In the Angular template, enabling Windows Authentication causes the /fetch-data route to fail with the error Exception: Call to Node module failed with error: Response with status: 401 Unauthorized for URL: <root>/api/SampleData/WeatherForecasts Changing "asp-prerender-module" to "asp-ng2-prerender-module" in Views/Home/Index.cshtml line 16 seems to fix the issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#727
No description provided.