[PR #13253] [MERGED] fix: The value of the 'Access-Control-Allow-Origin' header in the res… #46183

Closed
opened 2026-04-29 20:53:05 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/13253
Author: @noexcs
Created: 4/27/2025
Status: ✅ Merged
Merged: 4/28/2025
Merged by: @tjbck

Base: dev ← Head: dev


📝 Commits (1)

  • 4b9b24a fix: The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'.

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 backend/open_webui/config.py (+1 -1)

📄 Description

fix: The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'.

Changelog Entry

Description

When the user does not configure anything, the default CORS configuration on the backend is "*", and the frontend's credentials mode is set to 'include'.

This leads to a CORS issue: The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'.

As a result, first-time users encounter difficulties in normal usage on their localhost.

To resolve this, I have added http://localhost:5173;http://localhost:8080 to the default CORS_ALLOW_ORIGIN.

Fixed

  • The The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include' issue, when the user does not configure anything.

Contributor License Agreement

By submitting this pull request, I confirm that I have read and fully agree to the CONTRIBUTOR_LICENSE_AGREEMENT, and I am providing my contributions under its terms.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/13253 **Author:** [@noexcs](https://github.com/noexcs) **Created:** 4/27/2025 **Status:** ✅ Merged **Merged:** 4/28/2025 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `dev` --- ### 📝 Commits (1) - [`4b9b24a`](https://github.com/open-webui/open-webui/commit/4b9b24ae780524bfb2e1b2662e9100f1e7817be6) fix: The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'. ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/config.py` (+1 -1) </details> ### 📄 Description fix: The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'. # Changelog Entry ### Description When the user does not configure anything, the default CORS configuration on the backend is "`*`", and the frontend's credentials mode is set to 'include'. This leads to a CORS issue: `The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'`. As a result, first-time users encounter difficulties in normal usage on their localhost. To resolve this, I have added http://localhost:5173;http://localhost:8080 to the default `CORS_ALLOW_ORIGIN`. ### Fixed - The `The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'` issue, when the user does not configure anything. ### Contributor License Agreement By submitting this pull request, I confirm that I have read and fully agree to the [CONTRIBUTOR_LICENSE_AGREEMENT](CONTRIBUTOR_LICENSE_AGREEMENT), and I am providing my contributions under its terms. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-29 20:53:05 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#46183