diff --git a/Bootstrap.Admin/Startup.cs b/Bootstrap.Admin/Startup.cs index 3e05f423..005ca12f 100644 --- a/Bootstrap.Admin/Startup.cs +++ b/Bootstrap.Admin/Startup.cs @@ -82,7 +82,7 @@ namespace Bootstrap.Admin app.UseCookiePolicy(); app.UseAuthentication(); app.UseBootstrapRoleAuthorization(); - app.UseWebSocketHandler(); + app.UseWebSocketHandler(options => options.UseAuthentication = true); app.UseCacheManagerCorsHandler(); app.UseMvc(routes => {