Skip to content

Commit 886cda4

Browse files
authored
Switch to Bearer auth (#131)
1 parent 066b92d commit 886cda4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/sdk/src/websocket_decompress_adapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export class WebsocketDecompressAdapter {
7676
}): Promise<WebsocketDecompressAdapter> {
7777
const headers = new Headers();
7878
if (authToken) {
79-
headers.set('Authorization', `Basic ${btoa('token:' + authToken)}`);
79+
headers.set('Authorization', `Bearer ${authToken}`);
8080
}
8181

8282
let WS: typeof WebSocket;

0 commit comments

Comments
 (0)