diff --git a/templates/vue/vue3-ai-chatbot-widget/src/core/azion-copilot.js b/templates/vue/vue3-ai-chatbot-widget/src/core/azion-copilot.js index 934ebdf0..4dc9dc32 100644 --- a/templates/vue/vue3-ai-chatbot-widget/src/core/azion-copilot.js +++ b/templates/vue/vue3-ai-chatbot-widget/src/core/azion-copilot.js @@ -174,7 +174,7 @@ export class AzionCopilot { const response = await fetch(`${this.serverConfig.url}${this.serverConfig.conversation}`, { method: 'POST', - credentials: 'include', + // credentials: 'include', headers, body: JSON.stringify({ messages: messageQueue, @@ -282,7 +282,7 @@ export class AzionCopilot { const response = await fetch(`${this.serverConfig.url}${this.serverConfig.feedback}`, { method: 'POST', - credentials: 'include', + // credentials: 'include', headers, body: JSON.stringify(feedbackData) }) diff --git a/templates/vue/vue3-ai-chatbot-widget/src/services/auth.js b/templates/vue/vue3-ai-chatbot-widget/src/services/auth.js index 4a0e234d..de149dc1 100644 --- a/templates/vue/vue3-ai-chatbot-widget/src/services/auth.js +++ b/templates/vue/vue3-ai-chatbot-widget/src/services/auth.js @@ -66,7 +66,7 @@ export class AuthService { const response = await fetch(`${this.copilotBackend}/auth`, { method: 'POST', - credentials: 'include', + // credentials: 'include', headers: { 'Content-Type': 'application/json', 'Authorization': `Bearer ${password}`