I find it hard to believe that any browser would keep the original `Cookie: ...` headers in a redirected request to a different origin.
I find it hard to believe that any browser would keep the original `Cookie: ...` headers in a redirected request to a different origin.
I still wouldn't expect an Electron app to subvert basic browser sandboxing by default, particularly where they wouldn't have expected to need to redirect users to other domains with cookies intact. It seems like they'd need to go out of their way to enable that.
I wonder if it has to do with the sign-in tokens they send or otherwise allowing the user to move between the browser and the app within their account. For example, when you're in the app and click "Manage Users" and it sends you to a management dashboard in the browser. or when you click a link with an auth token in the browser and it launches you into the app.
In that case, I'd expect all cookies etc. to be forwarded.