File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -6,10 +6,7 @@ import fastify, { FastifyInstance } from "fastify";
6
6
import * as fs from "fs" ;
7
7
import { env , errorHandler , getLogSettings } from "../../core" ;
8
8
import { apiRoutes } from "../../server/api" ;
9
- import {
10
- performHTTPAuthentication ,
11
- performWSAuthentication ,
12
- } from "../middleware/auth" ;
9
+ import { performHTTPAuthentication } from "../middleware/auth" ;
13
10
import { openapi } from "./openapi" ;
14
11
15
12
const createServer = async ( serverName : string ) : Promise < FastifyInstance > => {
@@ -48,7 +45,8 @@ const createServer = async (serverName: string): Promise<FastifyInstance> => {
48
45
request . headers . upgrade . toLowerCase ( ) === "websocket"
49
46
) {
50
47
server . log . info ( "WebSocket connection attempt" ) ;
51
- await performWSAuthentication ( request , reply ) ;
48
+ // ToDo: Uncomment WebSocket Authentication post Auth SDK is implemented
49
+ // await performWSAuthentication(request, reply);
52
50
} else {
53
51
server . log . info ( "Regular HTTP request" ) ;
54
52
await performHTTPAuthentication ( request , reply ) ;
You can’t perform that action at this time.
0 commit comments