I hope I'm just overlooking something small.
But my issue is that I used the following code snippet in the Startup.cs-file to force redirections to the login page of my webapp, when there's no user signed in.
services.AddControllersWithViews(options => {
options.Filters.Add(new AuthorizeFilter());
});
My problem now is, that whenever a redirection is done by Microsoft Identity (no matter if login or logout) one will get redirected to a non safe http site.
I am using a Nginx reverse proxy with a Let's encrypt SSL-certificate, so the webapp is actually running on http. Is there a possibility to solve my issue?
Big thanks in advance!