Hi @Travis Steelman ,
Just to make sure I understand, you have .NET core 3.1 app hosting an Angular app e.g. dotnet new angular
and
app.UseSpa(spa =>
{
spa.Options.SourcePath = "ClientApp";
if (env.IsDevelopment())
{
spa.UseAngularCliServer(npmScript: "start");
}
});
ClientApp
has passport-local
installed and running LocalStategy. The remote API is open, serving resources, and ClientApp
only calls remote API when a user has been locally authenticated. If I'm misunderstanding, please elaborate on which bit is .NET, how is Angular being served, and where is the NodeJS API running, what does passport.Authenticate
return?
My first thought is this is a CORS issue, and you'll have to add it to your app service.