diff --git a/src/index.js b/src/index.js index fa4e08e..6a04ede 100644 --- a/src/index.js +++ b/src/index.js @@ -1,5 +1,4 @@ import { loadConfig } from './config.js'; -import { KeycloakAuth } from './auth/auth.js'; import { SocketManager } from './socket/socketmanager.js'; import { etcdServer } from './database/etcd.js'; import express from 'express'; @@ -19,9 +18,7 @@ import { mongoServer } from './database/mongo.js'; const app = express(); const server = http.createServer(app); - // Setup Keycloak Integration - const keycloakAuth = new KeycloakAuth(config); - new SocketManager(keycloakAuth, server); + new SocketManager(server); // Connect to Etcd (await) try {