Skip to content

Commit 73b0b15

Browse files
authored
feat(agentflow): axios client includes cookies in requests (#5919)
1 parent 11a3936 commit 73b0b15

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • packages/agentflow/src/infrastructure/api

packages/agentflow/src/infrastructure/api/client.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ export function createApiClient(apiBaseUrl: string, token?: string): AxiosInstan
1616

1717
const client = axios.create({
1818
baseURL: `${apiBaseUrl}/api/v1`,
19-
headers
19+
headers,
20+
withCredentials: true
2021
})
2122

2223
// Add request interceptor for debugging

0 commit comments

Comments
 (0)