First remove the Authorize attribute from the main controller
//[Authorize] public class HomeController : Controller
Then in /Views/Home/Index.cshtml delete the SPA logic (I commented on it):
@section SPAViews { @Html.Partial("_Home") } @section Scripts{ @* @Scripts.Render("~/bundles/knockout") @Scripts.Render("~/bundles/app") *@ }
Basically, what you are doing is making the homepage the plain old MVC page, which I assume you want to do.
Then you can go to the new page where your SPA application will be placed (and it is required that the user is signed up).
source share