Skip to content

Commit ba99638

Browse files
committed
Comment about SSEClientTransport auth API
1 parent f4aefa2 commit ba99638

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

client/src/lib/hooks/useConnection.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,8 @@ export function useConnection({
161161
backendUrl.searchParams.append("url", sseUrl);
162162
}
163163

164+
// Inject auth manually instead of using SSEClientTransport, because we're
165+
// proxying through the inspector server first.
164166
const headers: HeadersInit = {};
165167
const tokens = await authProvider.tokens();
166168
if (tokens) {

0 commit comments

Comments
 (0)