Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

.net core login redirect loop

// Startup.cs
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
	// authentication has to come before authorization, or you get an infinite redirect!
	app.UseAuthentication()
	app.UseAuthorization()
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #core #login #redirect #loop
ADD COMMENT
Topic
Name
9+6 =