Http-Interceptor hinzugefügt.

This commit is contained in:
Developer 02
2024-06-24 11:56:49 +02:00
parent d376065246
commit 1c11a0e8f0
17 changed files with 193 additions and 358 deletions

View File

@@ -44,7 +44,6 @@ builder.Services.AddAuthentication(CookieAuthenticationDefaults.AuthenticationSc
options.Cookie.SameSite = SameSiteMode.Strict; // Protects against CSRF attacks by restricting how cookies are sent with requests from external sites
options.LoginPath = "/api/auth/login";
options.LogoutPath = "/api/auth/logout";
options.ExpireTimeSpan = TimeSpan.FromMinutes(60);
options.SlidingExpiration = true;
});