diff --git a/src/Explorer/Notebook/NotebookComponent/epics.ts b/src/Explorer/Notebook/NotebookComponent/epics.ts index c09172bcf..4761cbeee 100644 --- a/src/Explorer/Notebook/NotebookComponent/epics.ts +++ b/src/Explorer/Notebook/NotebookComponent/epics.ts @@ -100,9 +100,6 @@ const addInitialCodeCellEpic = ( */ const formWebSocketURL = (serverConfig: NotebookServiceConfig, kernelId: string, sessionId?: string): string => { const params = new URLSearchParams(); - if (serverConfig.token) { - params.append("token", serverConfig.token); - } if (sessionId) { params.append("session_id", sessionId); } diff --git a/src/Terminal/JupyterLabAppFactory.ts b/src/Terminal/JupyterLabAppFactory.ts index da28d10ae..a07bdeb76 100644 --- a/src/Terminal/JupyterLabAppFactory.ts +++ b/src/Terminal/JupyterLabAppFactory.ts @@ -47,10 +47,9 @@ export class JupyterLabAppFactory { } public async createTerminalApp(serverSettings: ServerConnection.ISettings): Promise { - //Need to add this after we remove passing token through url - //const configurationSettings: Partial = serverSettings; - //(configurationSettings.appendToken as boolean) = false; - //serverSettings = ServerConnection.makeSettings(configurationSettings); + const configurationSettings: Partial = serverSettings; + (configurationSettings.appendToken as boolean) = false; + serverSettings = ServerConnection.makeSettings(configurationSettings); const manager = new TerminalManager({ serverSettings: serverSettings, });