diff --git a/src/Server/src/AspNet/Security/EnsureAuthenticatedMiddleware.cs b/src/Server/src/AspNet/Security/EnsureAuthenticatedMiddleware.cs index c0c16a3..75c332f 100644 --- a/src/Server/src/AspNet/Security/EnsureAuthenticatedMiddleware.cs +++ b/src/Server/src/AspNet/Security/EnsureAuthenticatedMiddleware.cs @@ -24,7 +24,7 @@ public async Task InvokeAsync(HttpContext context) { if (context.Request.Path.StartsWithSegments("/api/session/auth")) { - await context.ChallengeAsync(); + await context.ChallengeAsync(new AuthenticationProperties { RedirectUri = "/" }); } else if (context.Request.Path.StartsWithSegments("/_health") || context.Request.Path.StartsWithSegments("/fonts") || diff --git a/src/UI/public/fonts/materialdesignicons-webfont.eot b/src/UI/public/fonts/materialdesignicons-webfont.eot new file mode 100644 index 0000000..3eb8969 Binary files /dev/null and b/src/UI/public/fonts/materialdesignicons-webfont.eot differ diff --git a/src/UI/public/fonts/materialdesignicons-webfont.ttf b/src/UI/public/fonts/materialdesignicons-webfont.ttf new file mode 100644 index 0000000..bba7dcf Binary files /dev/null and b/src/UI/public/fonts/materialdesignicons-webfont.ttf differ diff --git a/src/UI/public/fonts/materialdesignicons-webfont.woff b/src/UI/public/fonts/materialdesignicons-webfont.woff new file mode 100644 index 0000000..a36a5f2 Binary files /dev/null and b/src/UI/public/fonts/materialdesignicons-webfont.woff differ diff --git a/src/UI/public/fonts/materialdesignicons-webfont.woff2 b/src/UI/public/fonts/materialdesignicons-webfont.woff2 new file mode 100644 index 0000000..8c69b85 Binary files /dev/null and b/src/UI/public/fonts/materialdesignicons-webfont.woff2 differ