Skip to content

Server Proxy Urls Don't Respect changeOrigin Setting in Vite Config in Version 7.2.2Β #21117

@mschaefer-gresham

Description

@mschaefer-gresham

Describe the bug

After upgrading to 7.2.2 the redirect from our IDP no longer works. I'm getting a 404 after a POST request is made to https://localhost:8080

Image

I can't provide a reproduction as it requires authenticating against an IDP.

Currently using 7.1.12. Switching to any 7.2 version results in this issue.

Reproduction

https://idonthaveone.com

Steps to reproduce

No response

System Info

System:
    OS: macOS 26.1
    CPU: (14) arm64 Apple M3 Max
    Memory: 1.20 GB / 36.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 22.17.0 - ~/.nvm/versions/node/v22.17.0/bin/node
    Yarn: 4.10.3 - ~/.nvm/versions/node/v22.17.0/bin/yarn
    npm: 10.9.2 - ~/.nvm/versions/node/v22.17.0/bin/npm
  Browsers:
    Edge: 142.0.3595.65
    Safari: 26.1
  npmPackages:
    @vitejs/plugin-react: 5.1.0 => 5.1.0 
    vite: 7.2.2 => 7.2.2

Used Package Manager

yarn

Logs

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug: upstreamBug in a dependency of Vitep3-minor-bugAn edge case that only affects very specific usage (priority)

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions