Comment about SSEClientTransport auth API
This commit is contained in:
@@ -161,6 +161,8 @@ export function useConnection({
|
|||||||
backendUrl.searchParams.append("url", sseUrl);
|
backendUrl.searchParams.append("url", sseUrl);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Inject auth manually instead of using SSEClientTransport, because we're
|
||||||
|
// proxying through the inspector server first.
|
||||||
const headers: HeadersInit = {};
|
const headers: HeadersInit = {};
|
||||||
const tokens = await authProvider.tokens();
|
const tokens = await authProvider.tokens();
|
||||||
if (tokens) {
|
if (tokens) {
|
||||||
|
|||||||
Reference in New Issue
Block a user